quarkiverse / quarkus-cucumber

Quarkus Cucumber extension
Apache License 2.0
14 stars 14 forks source link

Execution of multiple tests not possible due to terminated state #120

Open duckdeer opened 1 year ago

duckdeer commented 1 year ago

I'm using the Quarkus Cucumber extension in version 1.0.0. I've added two tests with different steps, scenarios, etc.. Both test classes are extending from CucumberQuarkusTest.

Everything is running fine when only one test class is executed.

But when two CucumberQuarkusTesttest classes are executed (e.g. via Intellij -> Run Test) only the first test is executed. The second one is already in "Terminated" state without running any tests. There's no exception visible on console.

The same behavior is when some other @QuarkusTest annotated tests are executed together with a CucumberQuarkusTest. All tests before the CucumberQuarkusTest are executed fine, the CucumberQuarkusTestitself is also executed fine. But tests after that CucumberQuarkusTestare again directly in terminated state without any error message.

When executing all tests running mvn clean install (test execution is configured with surefire-plugin) then all tests are executed without problems.

Is there any configuration option I am missing, which enables the execution of multiple BDD tests within a single run?