private void reportPotentialExecutionException(ScenarioBase scenario, ExtensionContext context) {
        Optional<Throwable> exception = context.getExecutionException();
        if (exception.isEmpty()) {
            return;
        }
        if (isAssumptionException(exception.get())) {
            scenario.getExecutor().aborted(exception.get());
        } else if (!isAssumptionException(exception.get())) {
            scenario.getExecutor().failed(exception.get());
        }
    }
This extension enables JGiven for JUnit 5 Tests.
<p>
Just annotate your test class with {@code @ExtendWith( JGivenExtension.class )}
<p>
You can then inject stage classes by using the {@see ScenarioStage} annotation
<p>
As an alternative you can also inherit from one of the following predefined base classes:
<ul>
    <li>{@link ScenarioTest}</li>
    <li>{@link SimpleScenarioTest}</li>
</ul>

@see ScenarioTest
@see SimpleScenarioTest
jgiven-junit5/src/main/java/com/tngtech/jgiven/junit5/JGivenExtension.java