Hi David,
When running "maven test", I get the expected results:

===========
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.875 sec
===========

But, when I try "maven jcoverage", I get:

==========
[junit] Tests run: 6, Failures: 0, Errors: 6, Time elapsed: 0.344 sec
[junit] [ERROR] TEST <myclass> FAILED

BUILD FAILED
File...... C:\Documents and
Settings\dhartford\.maven\cache\maven-test-plugin-1.
6.2\plugin.jelly
Element... fail
Line...... 181
Column.... 54
There were test failures. 
==========

I've tried maven clean inbetween each step, and the jcoverage
instrumentation seems to be fine, it's only when it tries to run the
junit tests WITH jcoverage that the unit tests error out (and quickly
too). 

I am running JDK5.0, so I'm not sure if that may be a problem or not.  I
have had success with EMMA for code coverage as an alternative (and have
correctly removed all references to EMMA when trying to debug the
jCoverage problem, particularly since I tried jcoverage before testing
EMMA). The silly reason I want jCoverage is for the ready-to-go
dashboard support, and for my peers to compare EMMA versus jCoverage for
a tool for code-coverage.

Really weird problem, hopefully it is just because I'm trying to do this
on JDK5?

-D

> -----Original Message-----
> From: David Jackman [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, April 26, 2005 4:37 PM
> To: Maven Users List
> Subject: RE: Test-plugin versus jcoverage-plugin?
> 
> I am even now getting jcoverage to work with our many 
> projects, and have run into this sort of issue a few times.  
> So far, I've been able to get things to work, but it seems 
> it's complaning about something different every time.  What 
> sorts of errors are you getting?
> 
> ..David..
> 

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

Reply via email to