Table of Contents

Method OnTestClassConstructionFinished

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

OnTestClassConstructionFinished(TContext)

This method will be called when a test class instance has finished being constructed. By default, this sends TestClassConstructionFinished.

protected virtual ValueTask<bool> OnTestClassConstructionFinished(TContext ctxt)

Parameters

ctxt TContext

The invoker context

Returns

ValueTask<bool>

Return true if test execution should continue; false if it should be shut down.

Remarks

This method runs during Running and any exceptions thrown will contribute to test failure.