Table of Contents

Constructor TestMethodRunnerContext

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

TestMethodRunnerContext(TTestMethod, IReadOnlyCollection<TTestCase>, ExplicitOption, IMessageBus, ExceptionAggregator, CancellationTokenSource)

public TestMethodRunnerContext(TTestMethod testMethod, IReadOnlyCollection<TTestCase> testCases, ExplicitOption explicitOption, IMessageBus messageBus, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource)

Parameters

testMethod TTestMethod

The test method

testCases IReadOnlyCollection<TTestCase>

The test cases from the test method

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