Method OnTestClassDisposeStarting
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
OnTestClassDisposeStarting(TContext)
This method will be called when a test class instance is about to be disposed. By default, this sends TestClassDisposeStarting.
protected virtual ValueTask<bool> OnTestClassDisposeStarting(TContext ctxt)
Parameters
ctxtTContextThe invoker context
Returns
Remarks
This method runs during Running and any exceptions thrown will contribute to test failure.