Method RunTestClass
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
RunTestClass(TContext, TTestClass?, IReadOnlyCollection<TTestCase>)
Override this method to run the tests in an individual test class.
protected abstract ValueTask<RunSummary> RunTestClass(TContext ctxt, TTestClass? testClass, IReadOnlyCollection<TTestCase> testCases)
Parameters
ctxtTContextThe context that describes the current test collection
testClassTTestClassThe test class to be run. May be
nullfor test cases that do not support classes and methods.testCasesIReadOnlyCollection<TTestCase>The test cases to be run.
Returns
- ValueTask<RunSummary>
Returns summary information about the tests that were run.