Property Cause
- Namespace
- Xunit.SimpleRunner
- Assembly
- xunit.v3.runner.utility.netfx.dll
Cause
Gets the cause of the test failure.
public required FailureCause Cause { get; set; }
Property Value
Remarks
For v1 or v2 test projects, this value will always be Exception.
For v3 test projects, all values of FailureCause are possible.