Table of Contents

Constructor XunitTestCaseRunnerBaseContext

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

XunitTestCaseRunnerBaseContext(TTestCase, IReadOnlyCollection<TTest>, IMessageBus, ExceptionAggregator, CancellationTokenSource, string, string?, ExplicitOption, object?[])

public XunitTestCaseRunnerBaseContext(TTestCase testCase, IReadOnlyCollection<TTest> tests, IMessageBus messageBus, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource, string displayName, string? skipReason, ExplicitOption explicitOption, object?[] constructorArguments)

Parameters

testCase TTestCase

The test case

tests IReadOnlyCollection<TTest>

The tests for the test case

messageBus

The message bus to send execution messages to

aggregator

The exception aggregator

cancellationTokenSource CancellationTokenSource

The cancellation token source

displayName string

The display name of the test case

skipReason string

The skip reason, if the test case is being skipped

explicitOption

The user's choice on how to treat explicit tests

constructorArguments object[]

The constructor arguments for the test class