Class TestRunnerContext<TTest>
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
Base context class for TestRunner<TContext, TTest>. This includes an assumption that a test means invoking a method on a class.
public class TestRunnerContext<TTest> : TestRunnerBaseContext<TTest>, IAsyncLifetime, IAsyncDisposable where TTest : class, ITest
Type Parameters
TTest
- Inheritance
-
TestRunnerBaseContext<TTest>TestRunnerContext<TTest>
- Implements
- Derived
- Inherited Members
-
TestRunnerBaseContext<TTest>.TestTestRunnerBaseContext<TTest>.GetSkipReason(Exception)
Constructors
- TestRunnerContext(TTest, IMessageBus, string?, ExplicitOption, ExceptionAggregator, CancellationTokenSource, MethodInfo, object?[])
Base context class for TestRunner<TContext, TTest>. This includes an assumption that a test means invoking a method on a class.
Properties
- TestMethod
Gets the method that this test originated in.
- TestMethodArguments
Gets the arguments to be passed to the test method during invocation.