Class TestClassRunnerContext<TTestClass, TTestCase>
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
Base context class for TestClassRunnerContext<TTestClass, TTestCase>.
public class TestClassRunnerContext<TTestClass, TTestCase> : ContextBase, IAsyncLifetime, IAsyncDisposable where TTestClass : class, ITestClass where TTestCase : class, ITestCase
Type Parameters
TTestClassThe type of the test class used by the test framework. Must derive from ITestClass.
TTestCaseThe 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.