Details
-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2020 Week 46-48 (from Nov 9)
-
1
-
NEW
-
NEW
Description
Use JUnit Jupiter Engine for test execution and JUnit Jupiter API for test annotations.
Mandatory dependencies:
<dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <scope>test</scope> </dependency>
More dependencies might be needed depending on whether and how Mockito and parameterized tests are used:
<dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <scope>test</scope> </dependency>
Paremeterized tests are used in optaplanner-core.
<dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> </dependency>
Mockito with JUnit 5 is used in optaweb-vehicle-routing.
Affected modules:
- backend
- benchmark