Skip to content

Tag: assertj

Using QuarkusTestExtension in combination with another JUnit extension leads to exception

Is it possible to use the QuarkusTestExtension from Quarkus in combination with the SoftAssertionsExtension from AssertJ? I would like to run a Quarkus test which implicitly calls softAssertions.assertAll() after a test which uses AssertJ’s soft assertions. I’m always encountering an exception, though. Context: I’m using io.quarkus:quarkus-junit5:1.13.3.Final and org.assertj:assertj-core:3.21.0. This is the annotation which I`ve created. This is my test. Inspired