Try using maven-surefire-plugin which generates report files as txt and
xml under test/target directories for the respective project :)

Thanks & Regards,
A.S.KRISHNAN,
AZTEC, BANGALORE.

-----Original Message-----
From: Graham Leggett [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 10:09 PM
To: Maven Users List
Subject: "There were test failures"

Hi all,

I have just given a go at getting a test suite to be run when the maven
build runs (this build depends on maven v1.0.2).

The test suite runs painlessly, but then a test fails as below.

I am mystified though: there is no indication of *which* of the 7 tests
that ran failed.

I tried running maven -e to give more info, but it gives no meaningful
stacktrace. The "test" plugin docs were of no help.

Am I missing something blindingly obvious, or does maven expect me to
blindly guess which test failed?

test:test:
     [junit] Running za.co.standardbank.fabric.screen.BusinessRulesTest
     [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 0.817
sec
     [junit] [ERROR] TEST
za.co.standardbank.fabric.screen.BusinessRulesTest FAILED

BUILD FAILED
File......
/Users/minfrin/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly
Element... fail
Line...... 181
Column.... 54
There were test failures.
Total time: 19 seconds
Finished at: Fri Feb 24 18:32:16 SAST 2006

Regards,
Graham
--



**********************************************************

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]

Reply via email to