Change the surefire/failsafe plugin and use JUnit as Platform #32
khmarbaise
started this conversation in
Ideas for Milestones
Replies: 1 comment
-
+1, ultimately it could be replaced - as compiler, javadoc and others, by just a generic toolprovider launcher mojo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently surefire/failsafe plugin supports the usage of different unit testing frameworks like:
It might be an idea to reconsider the idea of the surefire/failsafe plugin to handle this cases within a plugin. The JUnit Jupiter Platform supports that out of the box. That means via JUnit Jupiter you can run JUnit 3 and JUnit 4 (via vintage-engine), TestNG via (https://github.com/junit-team/testng-engine) and of course JUnit Jupiter itself.
From my perspective the whole surefire/failsafe plugin could be done much simpler and use the approaches which is already contained in the JUnit Jupiter which would be in line with the IDE's (IntelliJ, Eclipse, Netbean, Visual Studio Code etc.) and other tools like this. That would also simplify the configuration (for example for multi threaded, selecting classes etc.)
That would simplify the code of surefire/failsafe dramatically in many aspects and makes it easier to develop it. A good example of this approache is the https://github.com/sormuras/junit-platform-maven-plugin
Beta Was this translation helpful? Give feedback.
All reactions