maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Mari <mari.france...@gmail.com>
Subject Re: maven surefire - selecting providers
Date Wed, 24 Jul 2013 07:48:15 GMT
Can you provide your configuration for the m-surefire-p?


2013/7/24 Andreas Dolk <andreas.dolk.mobil@googlemail.com>

> 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
>

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