Enum TestPipelineStage
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
A flag to indicate which part of the test pipeline you're in. Retrieved from an instance of TestContext.
public enum TestPipelineStage
Fields
Discovery = 2Indicates that tests are currently being discovered.
Initialization = 1Indicates that the test pipeline is still in the initialization phase and hasn't begun work.
TestAssemblyExecution = 3Inidicates that the test pipeline is executing a test assembly.
TestCaseExecution = 7Inidicates that the test pipeline is executing a test case.
TestClassExecution = 5Inidicates that the test pipeline is executing a test class.
TestCollectionExecution = 4Inidicates that the test pipeline is executing a test collection.
TestExecution = 8Inidicates that the test pipeline is executing a test.
TestMethodExecution = 6Inidicates that the test pipeline is executing a test method.
Unknown = 0Indicates an unknown state of the test pipeline, or being outside of the test pipeline.