You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rubén Barroso <ru...@gmail.com> on 2005/11/21 11:46:48 UTC

Surefire not ignoring test failures

Hello, any suggestion to get surefire plugin ignore test failures in
order to generate the project site?

I've got this configuration in my pom:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>surefire-report-maven-plugin</artifactId>
  <configuration>
    <testFailureIgnore>true</testFailureIgnore>
  </configuration>
</plugin>

but I don't know if that property is ok or there's another way to
accomplish this.

Thanks in advance.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Surefire not ignoring test failures

Posted by Brett Porter <br...@gmail.com>.
This needs to be specified on the tests itself. There is a bug in the
surefire report plugin that isn't doing this by default as it should
be.

- Brett

On 11/21/05, Rubén Barroso <ru...@gmail.com> wrote:
> Hello, any suggestion to get surefire plugin ignore test failures in
> order to generate the project site?
>
> I've got this configuration in my pom:
>
> <plugin>
>   <groupId>org.codehaus.mojo</groupId>
>   <artifactId>surefire-report-maven-plugin</artifactId>
>   <configuration>
>     <testFailureIgnore>true</testFailureIgnore>
>   </configuration>
> </plugin>
>
> but I don't know if that property is ok or there's another way to
> accomplish this.
>
> Thanks in advance.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org