Table of Contents

Property TestCase

Namespace
Xunit
Assembly
xunit.v3.core.dll

TestCase

Gets the current test case, if the engine is currently in the process of running a test case; will return null outside of the context of a test case.

ITestCase? TestCase { get; }

Property Value

Remarks

When running with the default test framework implementation, the value here is likely to implement IXunitTestCase.