Property TestMethod
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
TestMethod
Gets the current test method, if the engine is currently in the process of running
a test method; will return null outside of the context of a test method. Note that
not all test framework implementations require that tests be based on methods, so this
value may be null even if TestCase is not null.
ITestMethod? TestMethod { get; }
Property Value
Remarks
When running with the default test framework implementation, the value here is likely to implement IXunitTestMethod.