Method OnTestCaseFinished
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
OnTestCaseFinished(TContext, RunSummary)
This method will be called when the test case has finished running. By default, this sends TestCaseFinished. Override this to enable any extensibility related to test case finish.
protected virtual ValueTask<bool> OnTestCaseFinished(TContext ctxt, RunSummary summary)
Parameters
ctxtTContextThe context that describes the current test case
summaryThe execution summary for the test case.
Returns
Remarks
This method runs during CleaningUp and any exceptions thrown will contribute to test case cleanup failure.