Table of Contents

Class TestClassRunnerContext<TTestClass, TTestCase>

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll
public class TestClassRunnerContext<TTestClass, TTestCase> : ContextBase, IAsyncLifetime, IAsyncDisposable where TTestClass : class, ITestClass where TTestCase : class, ITestCase

Type Parameters

TTestClass

The type of the test class used by the test framework. Must derive from ITestClass.

TTestCase

The type of the test case used by the test framework. Must derive from ITestCase.

Inheritance
TestClassRunnerContext<TTestClass, TTestCase>
Implements
Derived
Inherited Members

Constructors

TestClassRunnerContext(TTestClass, IReadOnlyCollection<TTestCase>, ExplicitOption, IMessageBus, ExceptionAggregator, CancellationTokenSource)

Base context class for TestClassRunnerContext<TTestClass, TTestCase>.

Properties

TestCases

Gets the test cases associated with the test class.

TestClass

Gets the test class that is being executed.