Class XunitTestCollectionRunnerContext
Context class for XunitTestCollectionRunner.
public class XunitTestCollectionRunnerContext : XunitTestCollectionRunnerBaseContext<IXunitTestCollection, IXunitTestCase>, IAsyncLifetime, IAsyncDisposable
- Inheritance
-
XunitTestCollectionRunnerContext
- Implements
- Inherited Members
Constructors
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
testCollectionIXunitTestCollectionThe test collection
testCasesIReadOnlyCollection<IXunitTestCase>The test cases from the test collection
explicitOptionExplicitOptionThe user's choice on how to treat explicit tests
messageBusIMessageBusThe message bus to send execution messages to
testCaseOrdererITestCaseOrdererThe order used to order tests cases in the collection
aggregatorExceptionAggregatorThe exception aggregator
cancellationTokenSourceCancellationTokenSourceThe cancellation token source
assemblyFixtureMappingsFixtureMappingManagerThe fixtures associated with the test assembly