Table of Contents

Property TestAssembly

Namespace
Xunit
Assembly
xunit.v3.core.dll

TestAssembly

Gets the current test assembly, if the engine is currently in the process of running or discovering tests in assembly; will return null out of this context (this typically means the test framework itself is being created and initialized).

ITestAssembly? TestAssembly { get; }

Property Value

Remarks

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