Java JUnit 5 annotations differences
org.junit.Test is not in JUnit5, that class is being provided by your dependency on JUnit Vintage. JUnit Vintage includes the JUnit Vintage test engine and classes such as org.junit.Test, this allows you to run JUnit4 tests alongside JUnit5 tests. It is a back compatability measure. If you want to use only JUnit5 constructs (and leave … Read more