Table of Contents

Property Test

Namespace
Xunit
Assembly
xunit.v3.core.dll

Test

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

public ITest? Test { get; }

Property Value

Remarks

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