Class TestCollectionRunnerContext<TTestCollection, TTestCase>
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
Base context class for TestCollectionRunner<TContext, TTestCollection, TTestClass, TTestCase>.
public class TestCollectionRunnerContext<TTestCollection, TTestCase> : ContextBase, IAsyncLifetime, IAsyncDisposable where TTestCollection : class, ITestCollection where TTestCase : class, ITestCase
Type Parameters
TTestCollectionThe type of the test collection used by the test framework. Must derive from ITestCollection.
TTestCaseThe type of the test case used by the test framework. Must derive from ITestCase.
- Inheritance
-
TestCollectionRunnerContext<TTestCollection, TTestCase>
- Implements
- Derived
- Inherited Members
Constructors
- TestCollectionRunnerContext(TTestCollection, IReadOnlyCollection<TTestCase>, ExplicitOption, IMessageBus, ExceptionAggregator, CancellationTokenSource)
Base context class for TestCollectionRunner<TContext, TTestCollection, TTestClass, TTestCase>.
Properties
- TestCases
Gets the test cases that belong to the test collection.
- TestCollection
Gets the test collection that is being executed.