Vor zwei Tagen wurde die neue JUnit Version 5.6.0 veröffentlicht.
Also die BOM aktuallisieren:
1 2 3 4 5 6 |
<dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>5.6.0</version> <type>pom</type> </dependency> |
Und ein kleiner Test mit zwei Projekten:
Alles Super. Was gibt es Neues:
1 2 3 4 5 6 7 8 9 10 11 12 |
New @EnabledForJreRange and @DisabledForJreRange execution conditions @Order allows to specify relative order Parameter names are included in default display names of parameterized test invocations Improvements to @CsvSource and @CsvFileSource New TestInstancePreDestroyCallback extension API Performance improvements and bug fixes for the Vintage engine Improved error reporting for failures during test discovery and execution Support for using any() and none() in tag expressions org.junit.platform.console now provides a java.util.spi.ToolProvider DiscoverySelectors for tests in inherited nested classes OSGi metadata Minor bug fixes and improvements |
Danke an das Team!