amoro
amoro copied to clipboard
[Bug]: JUnit 4 tests are skipped without warning
Why are the changes needed?
JUnit 4 tests are skipped without warning
Close #4011.
Brief change log
- Added the junit-vintage-engine dependency to support the execution of JUnit 4 test cases.
- Added the maven-enforcer-plugin and incorporated some rules.
How was this patch tested?
- The TestServerCatalog test case can now be executed locally.
- Remove the junit-vintage-engine dependency, and the compilation fails.