• Home
  • .NET
  • Unity
  • Godot
  • Design Overview
  • API Documentation
  • Changelog
  • GitHub
Show / Hide Table of Contents
  • Responsible
    • BddExtensions
    • IExternalResultSource
    • IFailureListener
    • IGlobalContextProvider
    • IOptionalTestResponder
    • ITestInstruction<T>
    • ITestOperation<T>
    • ITestResponder<T>
    • ITestScheduler
    • ITestWaitCondition<T>
    • LinqSupport
    • OptionalTestResponder
    • RepetitionLimitExceededException
    • Responsibly
    • TestFailureException
    • TestInstruction
    • TestInstructionExecutor
    • TestInstructionExecutor.StateNotificationCallback
    • TestOperationState
    • TestResponder
    • TestWaitCondition
  • Responsible.Bdd
    • IBddStep
    • Keywords
    • ScenarioBuilder
  • Responsible.Context
    • RunContext
  • Responsible.Docs
    • Inherit
  • Responsible.State
    • ITestOperationState
    • ITestOperationState<T>
    • StateStringBuilder
    • TestOperationStateTransition
    • TestOperationStatus
  • Responsible.Unity
    • TestOperationYieldInstruction<T>
    • UnhandledLogMessageException
    • UnityErrorLogInterceptor
    • UnityFailureListener
    • UnityTestInstructionExecutor
    • UnityTestScheduler
  • Responsible.Utilities
    • IMultipleTaskAwaiter<T>
    • IMultipleTaskSource<T>
    • IndentedStringBuilder<T>
    • RetryingPoller

Namespace Responsible

Namespace for the main functionality of Responsible. Other namespaces should not be needed, unless you are extending the base functionality.

Classes

BddExtensions

Extensions that make it easier and or prettier to run BDD-style tests.

LinqSupport

Provides the required extension method on ITestInstruction<T> for it to be used with the LINQ query syntax.

OptionalTestResponder

Provides extension methods on IOptionalTestResponder.

RepetitionLimitExceededException

The exception type that will be thrown if the maximum number of repetitions of a repeated operation is exceeded.

Responsibly

Main class for constructing primitive wait conditions and instructions, and composing responders.

TestFailureException

An exception, which indicates a failed test operation. Message includes the full details of the failure, and InnerException contains the exception that caused the failure.

TestInstruction

Contains extension methods on ITestInstruction<T>, for executing, sequencing and transforming their results.

TestInstructionExecutor

Handles execution of test instructions, external result sources, and failure notifications.

TestOperationState

Contains extension methods on ITestOperationState<T>. These are normally not needed, but can be useful for debugging purposes.

TestResponder

Contains extension methods on ITestResponder<T>.

TestWaitCondition

Contains extension methods on ITestWaitCondition<T>.

Interfaces

IExternalResultSource

Interface for making test operations succeed or fail early.

IFailureListener

Interface used for getting notified when test operations fail.

IGlobalContextProvider

Interface for providing global context to failure messages.

IOptionalTestResponder

Represents one or more test responders, which can optionally execute when they are ready.

See OptionalTestResponder for extension methods on optional responders.

ITestInstruction<T>

Represents a test instruction - a synchronous or asynchronous operation producing a single result when executed. All standard test instructions in Responsible have an enforced timeout.

See TestInstruction for extension methods for working with test instructions, and Responsibly for methods for creating basic test instructions.

ITestOperation<T>

Base interface for the test operation types in Responsible:

  • ITestInstruction<T>
  • ITestWaitCondition<T>
  • ITestResponder<T>
  • IOptionalTestResponder

Test operations should be considered a set of instructions, which may be executed one or more times. This makes them reusable.

ITestResponder<T>

Represents a test instruction, which is executed once a precondition is met. Usually constructed from a ITestWaitCondition<T> and ITestInstruction<T>.

See TestResponder for extension methods on test responders, TestWaitCondition for methods for composing wait conditions and instructions into responders, and Responsibly for methods used to combine multiple test responders.

ITestScheduler

Abstraction for polling and time-based operations. All of such operations function based on registering callbacks to an instance of this interface. See also RetryingPoller for an implementation you may use for poll callbacks.

ITestWaitCondition<T>

Represents a condition to wait on, which returns a result when fulfilled.

See TestWaitCondition for extension methods on wait conditions, and Responsibly for methods for building basic wait conditions.

Delegates

TestInstructionExecutor.StateNotificationCallback

Callback delegate type for test operation state notifications.

In this article
Back to top Generated by DocFX