JUnit 5 is the successor of JUnit 4. In contrast to JUnit 4, the support for custom test engines is one of its core features. Moreover, JUnit 5 is designed with great IDE support in mind.
These characteristics fit perfectly for tapir.
<dependency> <groupId>io.tapir-test</groupId> <artifactId>tapir-extensions-junit5-execution</artifactId> <version>1.1.0</version> </dependency>
You can start your tapir tests directly from Eclipse by right-clicking the test class and selecting Run As | JUnit Test.
The progress and the results are displayed in the JUnit view.
As tapir fulfills the JUnit5 API, it integrates transparently with the maven-surefire-plugin/maven-failsafe-plugin.
You can execute the tests by running this command:
> mvn clean integration-test
Jenkins provides a JUnit plugin which is 100% compatible with tapir. The JUnit plugin consumes XML test reports (which are generated by tapir’s JUnit module) and provides some graphical visualization of the historical test results as well as a web UI for viewing test reports, tracking failures, and so on.
In general all the frameworks and tools which are compatible to JUnit 5 are compatible to tapir as well.