<useFile>false</useFile> 

-----Original Message-----
From: Andreas Guther [mailto:[EMAIL PROTECTED] 
Sent: Sunday, May 21, 2006 8:47 PM
To: Maven Users List
Subject: Surefire: More details on failed tests--How?

Is there a way to get more information from surefire about test failures
than just the statistics without looking at reports generated with the
surefire reports plug-in?

Running surefire with for example the following, gives me no information
what exactly failed.  My problem is, that running my tests from within
my IDE is successful, i.e. no errors, but running them from cli fails
and I would be happy to see more information about what might have
caused the problem which must be a configuration problems I would
assume.

My question is the following:

Is there a way to set a verbosity level on surefire to get information
which test might have failed together with maybe a line number?

Example for a test failure with the standard settings:

mvn -Dtest=AbcTest test

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running a.b.c.AbcTest
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.581
sec <<< FAILURE!

Results :
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0

[ERROR] There are test failures.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to