You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by RobJac <ro...@caritor.com> on 2006/04/20 12:07:02 UTC

Junit using Maven

I am using Maven2. When I am packaging my project. The Maven runs the Junit
also for that project. But it just gives me the resuilt as

[surefire] Running
rlg.pensions.definedbenefits.components.payroll.bs.TestBsPayrollBean
[surefire] Tests run: 15, Failures: 0, Errors: 15, Time elapsed: 90.765 sec
<<<<<<<< FAILURE !! 
[surefire] Running
rlg.pensions.definedbenefits.components.payroll.dao.Test_DaoPayrollBean
[surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.953 sec
<<<<<<<< FAILURE !!

Could I get this in more descriptive way as to which method actually failed
in the class file Test_DaoPayrollBean or TestBsPayrollBean?
--
View this message in context: http://www.nabble.com/Junit-using-Maven-t1479596.html#a4004401
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Junit using Maven

Posted by Thorsten Heit <th...@xtramind.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> I am using Maven2. When I am packaging my project. The Maven runs the Junit
> also for that project. But it just gives me the resuilt as
> 
> [surefire] Running
> rlg.pensions.definedbenefits.components.payroll.bs.TestBsPayrollBean
> [surefire] Tests run: 15, Failures: 0, Errors: 15, Time elapsed: 90.765 sec
> <<<<<<<< FAILURE !! 
> [surefire] Running
> rlg.pensions.definedbenefits.components.payroll.dao.Test_DaoPayrollBean
> [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.953 sec
> <<<<<<<< FAILURE !!
> 
> Could I get this in more descriptive way as to which method actually failed
> in the class file Test_DaoPayrollBean or TestBsPayrollBean?

Have a look in target/surefire-reports, there you should find a text and
a XML file for each executed unit test.


HTH

Thorsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFER2ZrQvObkgCcDe0RAk3oAKCCuqlemQ3vEH1ePxQmih7etyTPpACgs1b3
SWHdC8A8PNsG/Z5gcL5euTQ=
=OA6x
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org