Normally applications are supposed to pass the JUNIT (Java) tests before building ... in that case its mandatory for the test to be passed ...
If u wana run tests against the WAR file built then this may be helpful for u (if u run the tests again after deployment) Thanks & Regards, A.S.KRISHNAN, AZTEC, BANGALORE. -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu Sent: Wednesday, February 22, 2006 4:18 PM To: [email protected] Subject: Re: [m2] Cannot generate test report with failing tests >From the surefire description (http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html): testFailureIgnore (Optional) boolean ${maven.test.failure.ignore} - Set this to true to ignore a failure during testing. Its use is *NOT RECOMMENDED*, but quite convenient on occasion. Why they say that it is not recommended? Krishnan A S wrote: > Hope the Reports get generated if tests are failed or passed. U can set > some configurations for test like '<testFailureIgnore>true</tFI> which > continues the successive lifecycle even if test fails :) > > > Try out this option. > > Thanks & Regards, > A.S.KRISHNAN, > AZTEC, BANGALORE. > > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu > Sent: Wednesday, February 22, 2006 1:26 AM > To: [email protected] > Subject: [m2] Cannot generate test report with failing tests > > Hi all, > > I am trying the surefire reporting. > When all tests pass the report is generated with a 100% success rate :-) > When some test fail then the report is not generated at all -- I am > asking myself why do I need this report at all?! > > Please explain how to use, > Adrian. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > ********************************************************** > > The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email > > ************************************************************ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ********************************************************** The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email ************************************************************ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
