Can you provide your configuration for the m-surefire-p?
2013/7/24 Andreas Dolk <[email protected]> > 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 ( > > http://maven.apache.org/surefire/maven-surefire-plugin/examples/providers.html > ) > 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, > > > Andreas >
