You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by monsterkhan <as...@hsbc.co.in> on 2007/04/25 16:06:00 UTC
skipping surefire-report failure
Some of my unit tests are failing wehn I run a maven builf and this results
in a failed build. Is there a way so tht the build doesnt fail and the
surefire reports gets generated even when a few tests fail?
tried a few options but nothings seems to work.
--
View this message in context: http://www.nabble.com/skipping-surefire-report-failure-tf3645559s177.html#a10181405
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: skipping surefire-report failure
Posted by monsterkhan <as...@hsbc.co.in>.
Thanks Wendy,
But seems this isnt working, I tried running "mvn -N
-Dtest.failure.ignore=true" and "mvn -N -Dmaven.test.failure.ignore=true"
but seems it doesnt work. As for the testFailureIgnore ignore I cant
configure that as I have configure tht as the I am not generating a complete
surefire-report, just running the unit tests as of now.
Wendy Smoak-3 wrote:
>
> On 4/25/07, monsterkhan <as...@hsbc.co.in> wrote:
>>
>> Some of my unit tests are failing wehn I run a maven builf and this
>> results
>> in a failed build. Is there a way so tht the build doesnt fail and the
>> surefire reports gets generated even when a few tests fail?
>>
>> tried a few options but nothings seems to work.
>
> Configure the plugin with testFailureIgnore set to true.
>
> http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#testFailureIgnore
>
> I think it also works on the command line with -Dtest.failure.ignore=true
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/skipping-surefire-report-failure-tf3645559s177.html#a10181942
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: skipping surefire-report failure
Posted by Wendy Smoak <ws...@gmail.com>.
On 4/25/07, monsterkhan <as...@hsbc.co.in> wrote:
>
> Some of my unit tests are failing wehn I run a maven builf and this results
> in a failed build. Is there a way so tht the build doesnt fail and the
> surefire reports gets generated even when a few tests fail?
>
> tried a few options but nothings seems to work.
Configure the plugin with testFailureIgnore set to true.
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#testFailureIgnore
I think it also works on the command line with -Dtest.failure.ignore=true
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org