Table of Contents

Class TestCollectionRunnerContext<TTestCollection, TTestCase>

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll
public class TestCollectionRunnerContext<TTestCollection, TTestCase> : ContextBase, IAsyncLifetime, IAsyncDisposable where TTestCollection : class, ITestCollection where TTestCase : class, ITestCase

Type Parameters

TTestCollection

The type of the test collection used by the test framework. Must derive from ITestCollection.

TTestCase

The 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.