Migrate to JUnit 5
-
Migrate existing tests to JUnit 5 -
Split tests into groups(The@Nested
annotation was causing issues with@Transactional
) -
Add readable labels -
Remove JUnit 4 dependencies
Resources
- https://www.baeldung.com/junit-5-runwith
- https://www.baeldung.com/junit-5-migration
- https://www.baeldung.com/junit-5
- https://www.baeldung.com/mockito-junit-5-extension
- https://medium.com/@sorravitbunjongpean/fix-junit5-display-name-did-not-show-in-run-tab-intellij-a00c94f39679
- https://openclassrooms.com/en/courses/5661466-use-testing-in-java-to-achieve-quality-applications/6232331-label-your-tests-with-advanced-junit-annotations
Edited by Robert Palm