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