Method RunTestCases
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
RunTestCases(IReadOnlyCollection<TTestCase>, IMessageSink, ITestFrameworkExecutionOptions, CancellationToken)
Runs selected test cases in the assembly.
public abstract ValueTask RunTestCases(IReadOnlyCollection<TTestCase> testCases, IMessageSink executionMessageSink, ITestFrameworkExecutionOptions executionOptions, CancellationToken cancellationToken)
Parameters
testCasesIReadOnlyCollection<TTestCase>The test cases to run.
executionMessageSinkThe message sink to report results back to.
executionOptionsThe options to be used during test execution.
cancellationTokenCancellationTokenThe cancellation token which can be used to cancel the test execution process.