Table of Contents

Class XunitTestMethodRunnerBaseContext<TTestMethod, TTestCase>

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll
public class XunitTestMethodRunnerBaseContext<TTestMethod, TTestCase> : TestMethodRunnerContext<TTestMethod, TTestCase>, IAsyncLifetime, IAsyncDisposable where TTestMethod : class, IXunitTestMethod where TTestCase : class, IXunitTestCase

Type Parameters

TTestMethod
TTestCase
Inheritance
TestMethodRunnerContext<TTestMethod, TTestCase>
XunitTestMethodRunnerBaseContext<TTestMethod, TTestCase>
Implements
Derived
Inherited Members

Constructors

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 ExplicitOption

The user's choice on how to treat explicit tests

messageBus IMessageBus

The message bus to send execution messages to

aggregator ExceptionAggregator

The exception aggregator

cancellationTokenSource CancellationTokenSource

The cancellation token source

constructorArguments object[]

The constructor arguments for the test class

Properties

ConstructorArguments

Gets the arguments to send to the test class constructor.

public object?[] ConstructorArguments { get; }

Property Value

object[]