Table of Contents

Class XunitTestCollectionRunnerContext

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

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

testCollection IXunitTestCollection

The test collection

testCases IReadOnlyCollection<IXunitTestCase>

The test cases from the test collection

explicitOption ExplicitOption

The user's choice on how to treat explicit tests

messageBus IMessageBus

The message bus to send execution messages to

testCaseOrderer ITestCaseOrderer

The order used to order tests cases in the collection

aggregator ExceptionAggregator

The exception aggregator

cancellationTokenSource CancellationTokenSource

The cancellation token source

assemblyFixtureMappings FixtureMappingManager

The fixtures associated with the test assembly