Base interface for the test operation types in Responsible:
Test operations should be considered a set of instructions, which may be executed one or more times. This makes them reusable.
public interface ITestOperation<out T>
Result type of the operation.
Creates the state object for a single run of this test operation.
You should normally prefer using the
To... extension methods over
creating a state instance manually.
[Pure] [NotNull] ITestOperationState<T> CreateState()
A state object for this run of the test operation.
Converting an instance of ITestOperationState<T> to a string will dump full information of its current execution status.
Creating a state for a ITestWaitCondition<T> and running it directly will bypass the timeout mechanism which is otherwise enforced by Responsible, and might lead to an execution that never completes.