Constructor TestRunnerBaseContext
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
TestRunnerBaseContext(TTest, IMessageBus, string?, ExplicitOption, ExceptionAggregator, CancellationTokenSource)
Base context class for TestRunnerBase<TContext, TTest>.
public TestRunnerBaseContext(TTest test, IMessageBus messageBus, string? skipReason, ExplicitOption explicitOption, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource)
Parameters
testTTestThe test
messageBusThe message bus to send execution messages to
skipReasonstringThe skip reason for the test, if it's being skipped
explicitOptionThe user's choice on how to treat explicit tests
aggregatorThe exception aggregator
cancellationTokenSourceCancellationTokenSourceThe cancellation token source