Enum PerformanceState
- Namespace
- CSF.Screenplay.Performances
- Assembly
- CSF.Screenplay.Abstractions.dll
Enumerates the states of an IPerformance.
public enum PerformanceState
Fields
Completed = 4
The performance has completed but it has neither succeeded or failed.
Failed = 3
The performance has completed but it has failed.
InProgress = 1
The performance has been started but is not yet complete; use FinishPerformance(bool?) to complete it.
NotStarted = 0
The performance is not yet started; use BeginPerformance() to begin it.
Success = 2
The performance has completed and was a success.
Remarks
When Screenplay is being used with Integration then this will also closely correspond to the state & outcome of the corresponding Scenario