Table of Contents

Class TestCaseRunnerContext<TTestCase, TTest>

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll
public abstract class TestCaseRunnerContext<TTestCase, TTest> : TestCaseRunnerBaseContext<TTestCase>, IAsyncLifetime, IAsyncDisposable where TTestCase : class, ITestCase where TTest : class, ITest

Type Parameters

TTestCase

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

TTest

The type of the test that is generated from the test case. Must derive from ITest.

Inheritance
TestCaseRunnerContext<TTestCase, TTest>
Implements
Derived
Inherited Members
TestCaseRunnerBaseContext<TTestCase>.TestCase

Constructors

TestCaseRunnerContext(TTestCase, ExplicitOption, IMessageBus, ExceptionAggregator, CancellationTokenSource)

Base context class for TestCaseRunner<TContext, TTestCase, TTest>.

Properties

Tests

Gets the tests for the given test case.