maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Dolk <>
Subject maven surefire - selecting providers
Date Tue, 23 Jul 2013 22:02:36 GMT
Hello all,

we have maven builds for projects that use both jUnit and testNG tests. So
I configured the maven surefire plugin to use multiple providers (
and it works pretty well - apart from the problem, that now TestNG tries to
run every single jUnit test in the project. It takes about 2 seconds for
each test until it finds out that it has nothing to to (only jUnit
annotations on the test class)

The annoying part is that now some tests that failed with jUnit are marked
ok after TestNG didn't find a problem.

Is there anyway to configure surefire or the providers so that they only
run "their own" tests and ignore the others? A solution where  rename the
test to filter by names would be fine for me.

Best regards,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message