Class AfterAllInfo
Information provided to AfterAll hooks.
public class AfterAllInfo
- Inheritance
-
AfterAllInfo
- Inherited Members
Constructors
AfterAllInfo(int, int, int, int, TimeSpan, IReadOnlyList<TestCaseExecutionResult>, ISpec)
public AfterAllInfo(int totalTests, int passed, int failed, int skipped, TimeSpan totalDuration, IReadOnlyList<TestCaseExecutionResult> results, ISpec spec)
Parameters
totalTestsintpassedintfailedintskippedinttotalDurationTimeSpanresultsIReadOnlyList<TestCaseExecutionResult>specISpec
Properties
Failed
Number of tests that failed.
public int Failed { get; }
Property Value
Passed
Number of tests that passed.
public int Passed { get; }
Property Value
Results
Results for each executed test case.
public IReadOnlyList<TestCaseExecutionResult> Results { get; }
Property Value
Skipped
Number of tests that were skipped (e.g., due to StopOnFirstFailure).
public int Skipped { get; }
Property Value
Spec
The spec being tested.
public ISpec Spec { get; }
Property Value
TotalDuration
Total duration of the test run.
public TimeSpan TotalDuration { get; }
Property Value
TotalTests
Total number of tests.
public int TotalTests { get; }