Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4
-
None
-
None
Description
It would be nice if you could force the maven surefire plugin to only use a specific provider.
Currently, it checks if a test extends junit.framework.Test. If it is, it assumes its a junit test case. This is not always the case. It could still be a testng test.
if (junit.framework.Test.class.isAssignableFrom( c ))
{ junitTestClasses.add( c ); }else
{ testNgTestClasses.add( c ); }