Constructor XunitTestCaseRunnerBaseContext
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
XunitTestCaseRunnerBaseContext(TTestCase, IReadOnlyCollection<TTest>, IMessageBus, ExceptionAggregator, CancellationTokenSource, string, string?, ExplicitOption, object?[])
Context class for XunitTestCaseRunnerBase<TContext, TTestCase, TTest>.
public XunitTestCaseRunnerBaseContext(TTestCase testCase, IReadOnlyCollection<TTest> tests, IMessageBus messageBus, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource, string displayName, string? skipReason, ExplicitOption explicitOption, object?[] constructorArguments)
Parameters
testCaseTTestCaseThe test case
testsIReadOnlyCollection<TTest>The tests for the test case
messageBusThe message bus to send execution messages to
aggregatorThe exception aggregator
cancellationTokenSourceCancellationTokenSourceThe cancellation token source
displayNamestringThe display name of the test case
skipReasonstringThe skip reason, if the test case is being skipped
explicitOptionThe user's choice on how to treat explicit tests
constructorArgumentsobject[]The constructor arguments for the test class