• 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

Interface 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.

Inherited Members
ITestOperation<T>.CreateState()
Namespace: Responsible
Assembly: Responsible.dll
Syntax
public interface ITestInstruction<out T> : ITestOperation<T>
Type Parameters
Name Description
T

Result type of the test instruction.

Extension Methods

LinqSupport.SelectMany<TSource, TSelector, TResult>(ITestInstruction<TSource>, Func<TSource, ITestInstruction<TSelector>>, Func<TSource, TSelector, TResult>)
TestInstruction.ContinueWith<T1, T2>(ITestInstruction<T1>, ITestInstruction<T2>, string, string, int)
TestInstruction.ContinueWith<T1, T2>(ITestInstruction<T1>, Func<T1, ITestInstruction<T2>>, string, string, int)
TestInstruction.GroupedAs<T>(ITestInstruction<T>, string)
TestInstruction.RepeatUntil<TWait, TInstruction>(ITestInstruction<TInstruction>, ITestWaitCondition<TWait>, int, string, string, int)
TestInstruction.RunAsLoop<T>(ITestInstruction<T>, Action, CancellationToken, string, string, int)
TestInstruction.RunAsSimulatedUpdateLoop<T>(ITestInstruction<T>, double, Action<TimeSpan>, CancellationToken, string, string, int)
TestInstruction.Select<T1, T2>(ITestInstruction<T1>, Func<T1, T2>, string, string, int)
TestInstruction.ToTask<T>(ITestInstruction<T>, TestInstructionExecutor, CancellationToken, string, string, int)
TestInstruction.ToYieldInstruction<T>(ITestInstruction<T>, TestInstructionExecutor, bool, CancellationToken, string, string, int)
In this article
Back to top Generated by DocFX