Method RunTestCollection
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
RunTestCollection(TContext, TTestCollection, IReadOnlyCollection<TTestCase>)
Override this method to run the tests in an individual test collection.
protected abstract ValueTask<RunSummary> RunTestCollection(TContext ctxt, TTestCollection testCollection, IReadOnlyCollection<TTestCase> testCases)
Parameters
ctxtTContextThe context that describes the current test assembly
testCollectionTTestCollectionThe test collection that is being run.
testCasesIReadOnlyCollection<TTestCase>The test cases that belong to the test collection.
Returns
- ValueTask<RunSummary>
Returns summary information about the tests that were run.
Remarks
This method runs during Running and any exceptions thrown will contribute to test assembly cleanup failure.