You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mario Roman <ma...@gmail.com> on 2007/04/16 19:46:18 UTC

Goal

Hi all,
     I using Maven2 with Vulcan (http://code.google.com/p/vulcan/). I want
to run my project test and generate the surefire report, so I configured
Vulcan to run de following goals

- test surefire:report

this works fine if no test fail, but if a test fail then the surefire:report
goal do not execute. So I don´t get the reports.

If I configure the goal just with

- surefire:report

The goal executes ok, so Vulcan puts a big "Pass" (the test fail, but the
reports are generated :P ).
What I want, is to generate my test reports always (no matter if the fail or
not), but to inform the real state of my test.

Does anyone can help me?

bye.

Re: Goal

Posted by Edwin Punzalan <ep...@apache.org>.
Maybe this is a good chance to set: testFailureIgnore to true.

See
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#testFailureIgnore


On 4/16/07, Mario Roman <ma...@gmail.com> wrote:
>
> Hi all,
>     I using Maven2 with Vulcan (http://code.google.com/p/vulcan/). I want
> to run my project test and generate the surefire report, so I configured
> Vulcan to run de following goals
>
> - test surefire:report
>
> this works fine if no test fail, but if a test fail then the
> surefire:report
> goal do not execute. So I don´t get the reports.
>
> If I configure the goal just with
>
> - surefire:report
>
> The goal executes ok, so Vulcan puts a big "Pass" (the test fail, but the
> reports are generated :P ).
> What I want, is to generate my test reports always (no matter if the fail
> or
> not), but to inform the real state of my test.
>
> Does anyone can help me?
>
> bye.
>