Table of Contents

Class XunitTestMethodRunnerBase<TContext, TTestMethod, TTestCase>

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

The base test method runner for xUnit.net v3 tests (with overridable context).

public class XunitTestMethodRunnerBase<TContext, TTestMethod, TTestCase> : TestMethodRunner<TContext, TTestMethod, TTestCase> where TContext : XunitTestMethodRunnerBaseContext<TTestMethod, TTestCase> where TTestMethod : class, IXunitTestMethod where TTestCase : class, IXunitTestCase

Type Parameters

TContext
TTestMethod
TTestCase
Inheritance
TestMethodRunner<TContext, TTestMethod, TTestCase>
XunitTestMethodRunnerBase<TContext, TTestMethod, TTestCase>
Derived
Inherited Members

Methods

RunTestCase(TContext, TTestCase)

Runs the test case.

protected override ValueTask<RunSummary> RunTestCase(TContext ctxt, TTestCase testCase)

Parameters

ctxt TContext

The context that describes the current test method

testCase TTestCase

The test case to be run.

Returns

ValueTask<RunSummary>

Returns summary information about the test case run.