Table of Contents

Method RunTestCase

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

RunTestCase(TContext, TTestCase)

Override this method to run an individual test case.

protected abstract 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.

Remarks

This method runs during Running and any exceptions thrown will contribute to test method cleanup failure.