Table of Contents

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

testCollection

The test collection

testCases IReadOnlyCollection<IXunitTestCase>

The test cases from the test collection

explicitOption

The user's choice on how to treat explicit tests

messageBus

The message bus to send execution messages to

testCaseOrderer

The order used to order tests cases in the collection

aggregator

The exception aggregator

cancellationTokenSource CancellationTokenSource

The cancellation token source

assemblyFixtureMappings

The fixtures associated with the test assembly