We have created a custom test runner for Junit 5. However, we would like to stop this runner after the first failing test. I've looked into Extensions, but these all work with ExtensionContext
which does not seem to provide any way to stop the runner.
How can I stop the runner after a failed test?