Method GetTestOutput
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetTestOutput(TContext)
Gets any output collected from the test after execution is complete. If the test framework did not collect any output, or does not support collecting output, then it should return Empty.
protected virtual ValueTask<string> GetTestOutput(TContext ctxt)
Parameters
ctxtTContextThe context that describes the current test
Returns
Remarks
This method runs during CleaningUp and any exceptions thrown will contribute to test cleanup failure.