Class TestCaseRunnerContext<TTestCase, TTest>
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
Base context class for TestCaseRunner<TContext, TTestCase, TTest>.
public abstract class TestCaseRunnerContext<TTestCase, TTest> : TestCaseRunnerBaseContext<TTestCase>, IAsyncLifetime, IAsyncDisposable where TTestCase : class, ITestCase where TTest : class, ITest
Type Parameters
TTestCaseThe type of the test case used by the test framework. Must derive from ITestCase.
TTestThe type of the test that is generated from the test case. Must derive from ITest.
- Inheritance
-
TestCaseRunnerBaseContext<TTestCase>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.