Constructor XunitTestCollectionRunnerContext
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
XunitTestCollectionRunnerContext(IXunitTestCollection, IReadOnlyCollection<IXunitTestCase>, ExplicitOption, IMessageBus, ITestCaseOrderer, ExceptionAggregator, CancellationTokenSource, FixtureMappingManager)
Context class for XunitTestCollectionRunner.
public XunitTestCollectionRunnerContext(IXunitTestCollection testCollection, IReadOnlyCollection<IXunitTestCase> testCases, ExplicitOption explicitOption, IMessageBus messageBus, ITestCaseOrderer testCaseOrderer, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource, FixtureMappingManager assemblyFixtureMappings)
Parameters
testCollectionThe test collection
testCasesIReadOnlyCollection<IXunitTestCase>The test cases from the test collection
explicitOptionThe user's choice on how to treat explicit tests
messageBusThe message bus to send execution messages to
testCaseOrdererThe order used to order tests cases in the collection
aggregatorThe exception aggregator
cancellationTokenSourceCancellationTokenSourceThe cancellation token source
assemblyFixtureMappingsThe fixtures associated with the test assembly