Table of Contents

Constructor TestCollectionRunnerContext

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

TestCollectionRunnerContext(TTestCollection, IReadOnlyCollection<TTestCase>, ExplicitOption, IMessageBus, ExceptionAggregator, CancellationTokenSource)

public TestCollectionRunnerContext(TTestCollection testCollection, IReadOnlyCollection<TTestCase> testCases, ExplicitOption explicitOption, IMessageBus messageBus, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource)

Parameters

testCollection TTestCollection

The test collection

testCases IReadOnlyCollection<TTestCase>

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

aggregator

The exception aggregator

cancellationTokenSource CancellationTokenSource

The cancellation token source