Why Your JUnit 5 Tests Are Not Running Under Maven
So your JUnit 5 tests are not running under Maven? You have JUnit 5 Tests which run fine from your IDE, but fail to run under Maven? Your test output looks like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
[INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] [INFO] Results: [INFO] [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.741 s [INFO] Finished at: 2018-11-17T05:34:18-05:00 [INFO] Final Memory: 12M/54M [INFO] ------------------------------------------------------------------------ |
The Cause The root cause is likely your Maven version. Maven 3.6.0 was released on October 24th, 2018. This release includes […]Continue reading
Logback Introduction: An Enterprise Logging Framework