Table of Contents

Method RunTestClasses

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

RunTestClasses(TContext, Exception?)

Runs the list of test classes. By default, groups the tests by class and runs them synchronously.

protected virtual ValueTask<RunSummary> RunTestClasses(TContext ctxt, Exception? exception)

Parameters

ctxt TContext

The context that describes the current test collection

exception Exception

The exception that was caused during startup; should be used as an indicator that the downstream tests should fail with the provided exception rather than going through standard execution

Returns

ValueTask<RunSummary>

Returns summary information about the tests that were run.