• 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

Class UnityTestScheduler

Default ITestScheduler implementation for Unity. Will call polling methods in Update.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
UnityTestScheduler
Implements
ITestScheduler
IDisposable
Namespace: Responsible.Unity
Assembly: Responsible.dll
Syntax
public class UnityTestScheduler : MonoBehaviour, ITestScheduler, IDisposable
Remarks

If you want to customize this behaviour, it is recommended to just implement your own custom implementation, instead of reusing this one. However, if you want to compose a custom TestInstructionExecutor for Unity, using this as a scheduler is recommended.

Methods

Create()

Creates a UnityTestScheduler in a DontDestroyOnLoad GameObject. The GameObject will be destroyed when this instance is disposed.

Declaration
public static UnityTestScheduler Create()
Returns
Type Description
UnityTestScheduler

Dispose()

Will destroy the GameObject this instance is running on.

Declaration
public void Dispose()

Implements

ITestScheduler
IDisposable
In this article
Back to top Generated by DocFX