Table of Contents

Class TestRunnerBaseContext<TTest>

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

Base context class for TestRunnerBase<TContext, TTest>.

public class TestRunnerBaseContext<TTest> : ContextBase, IAsyncLifetime, IAsyncDisposable where TTest : class, ITest

Type Parameters

TTest
Inheritance
TestRunnerBaseContext<TTest>
Implements
Derived
Inherited Members

Constructors

TestRunnerBaseContext(TTest, IMessageBus, string?, ExplicitOption, ExceptionAggregator, CancellationTokenSource)

Base context class for TestRunnerBase<TContext, TTest>.

Properties

Test

Gets the test that's being invoked.

Methods

GetSkipReason(Exception?)

Gets the runtime skip reason for the test.