Table of Contents

Constructor XunitTestMethodRunnerBaseContext

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

XunitTestMethodRunnerBaseContext(TTestMethod, IReadOnlyCollection<TTestCase>, ExplicitOption, IMessageBus, ExceptionAggregator, CancellationTokenSource, object?[])

public XunitTestMethodRunnerBaseContext(TTestMethod testMethod, IReadOnlyCollection<TTestCase> testCases, ExplicitOption explicitOption, IMessageBus messageBus, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource, object?[] constructorArguments)

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

constructorArguments object[]

The constructor arguments for the test class