maven-surefire icon indicating copy to clipboard operation
maven-surefire copied to clipboard

Use JUnit Jupiter Platform plaform to run all tests

Open olamy opened this issue 3 months ago • 0 comments

New feature, improvement proposal

Currently, Surefire has a lot of different code to run tests:

  • junit 3
  • junit 4
  • junit 4.7
  • junit 5
  • testng

The JUnit Platform can run tests from Junit 4.12 (via junit vintage) to 5.x and including testng via a dedicated engine https://github.com/junit-team/testng-engine

The idea is to simplify code and reduce maintenance by using a single engine. To simplify maintenance, old code for Junit 3.x to 4.11 (including junit--dep) will also be removed.

olamy avatar Sep 23 '25 09:09 olamy