Method SetForTestAssembly
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
SetForTestAssembly(ITestAssembly, TestEngineStatus, CancellationToken)
Sets the test context for discovery or execution of a test assembly. This assumes an existing test context already exists from which it can pull the diagnostic and internal diagnostic message sinks.
public static void SetForTestAssembly(ITestAssembly testAssembly, TestEngineStatus testAssemblyStatus, CancellationToken cancellationToken)
Parameters
testAssemblyThe test assembly that is being executed
testAssemblyStatusThe test assembly status
cancellationTokenCancellationTokenThe cancellation token used to cancel execution