testng icon indicating copy to clipboard operation
testng copied to clipboard

Deprecate JUnit support in TestNG

Open krmahadevan opened this issue 4 years ago • 1 comments

Currently TestNG lets a user run their JUnit tests using TestNG. TestNG still does this only for JUnit3 and JUnit4 based tests.

JUnit has evolved and with JUnit5 coming in, there's a brand new runner capability that is being provided by the JUnit dev team itself using which one can run their testng tests using junit.

https://github.com/junit-team/testng-engine

So it makes little sense for TestNG to still support running JUnit tests using TestNG, because if the user just flips to using the testng-engine library provided by the junit team, they can run their junit as well as testng tests.

This issue is meant to track this ask and eventually remove the junit support in testng.

See here for some more discussion on this https://github.com/cbeust/testng/pull/2677#pullrequestreview-814041661

krmahadevan avatar Nov 26 '21 04:11 krmahadevan

@marcphilipp @sbrannen fyi

juherr avatar Nov 29 '21 14:11 juherr

Closed via https://github.com/cbeust/testng/pull/2849

krmahadevan avatar Dec 04 '22 04:12 krmahadevan