You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have a TestListener that resets a service after each has run. This must be done regardless of the result of the test.
With the TestListener this is easy, implement TestListener::endTest() and done. However, with the new extension system no such hook exists and it seems I'd need to implement AfterIncompleteTestHook, AfterRiskyTestHook, AfterSkippedTestHook, AfterTestErrorHook, AfterSuccessfulTestHook, AfterTestFailureHook and AfterTestWarningHook. All with the same function body. That seems a bit overkill.
Is there another way to do this with an extension currently? If not, would you mind a PR that adds such a Hook?
The text was updated successfully, but these errors were encountered: