Class XunitTestMethodRunnerBase<TContext, TTestMethod, TTestCase>
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
TContextTTestMethodTTestCase
- 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
ctxtTContextThe context that describes the current test method
testCaseTTestCaseThe test case to be run.
Returns
- ValueTask<RunSummary>
Returns summary information about the test case run.