The Emma plug-in does not seem to do this "double testing".  At least, the 
output is not showing tests being run twice.  Does Emma have this "problem" 
also?

When I run the site plug-in, the index.html file for Emma is blank.  When will 
this be corrected?






-----Original Message-----
From: Mark Struberg 
<strub...@yahoo.de<mailto:mark%20struberg%20%3cstrub...@yahoo.de%3e>>
Reply-to: Mark Struberg <strub...@yahoo.de>
To: roland.asm...@adesso.at 
<roland.asm...@adesso.at<mailto:%22roland.asm...@adesso.at%22%20%3croland.asm...@adesso.at%3e>>,
 user@mojo.codehaus.org<mailto:user@mojo.codehaus.org>
Cc: user@mojo.codehaus.org 
<user@mojo.codehaus.org<mailto:%22u...@mojo.codehaus.org%22%20%3cu...@mojo.codehaus.org%3e>>
Subject: Re: [mojo-user] Cobertura Maven Plugin
Date: Tue, 28 Jun 2011 17:24:47 +0100



Just to clarify that because many people get this wrong.

Not the cobertura-maven-plugin is running the tests twice, but maven 
INTENTIONALLY first runs the tests un-instrumented, and only after that uses 
bytecode enhancements on the class to get code coverage numbers.

The reason for this is that the class instrumentation sometimes leads to test 
errors and would lead to people searching for hours for phantom errors.


LieGrue,
strub


--- On Tue, 6/28/11, Collins, Russell 
<rcoll...@corelogic.com<mailto:rcoll...@corelogic.com>> wrote:

From: Collins, Russell <rcoll...@corelogic.com<mailto:rcoll...@corelogic.com>>
Subject: Re: [mojo-user] Cobertura Maven Plugin
To: "roland.asm...@adesso.at<mailto:roland.asm...@adesso.at>" 
<roland.asm...@adesso.at<mailto:roland.asm...@adesso.at>>
Cc: "user@mojo.codehaus.org<mailto:user@mojo.codehaus.org>" 
<user@mojo.codehaus.org<mailto:user@mojo.codehaus.org>>
Date: Tuesday, June 28, 2011, 4:09 PM








Thank you for letting me know that.

























-----Original Message-----

From: Asmann, Roland <roland.asm...@adesso.at<mailto:roland.asm...@adesso.at>>

Reply-to: "Asmann, Roland" 
<roland.asm...@adesso.at<mailto:roland.asm...@adesso.at>>

To: user@mojo.codehaus.org<mailto:user@mojo.codehaus.org> 
<user@mojo.codehaus.org<mailto:user@mojo.codehaus.org>>

Cc: Collins, Russell <rcoll...@corelogic.com<mailto:rcoll...@corelogic.com>>

Subject: Re: [mojo-user] Cobertura Maven Plugin

Date: Tue, 28 Jun 2011 17:56:15 +0200



You can't...

Only solution I see is to NOT use the plugin, but add Cobertura using
the Ant-tasks...


On 28.06.2011 17:51, Collins, Russell wrote:
> I am trying to use this plugin but it keeps running the tests twice. I
> do not want to run the tests twice. How do I turn this off?
>
> Russell Collins
> ******************************************************************************************
>
> This message may contain confidential or proprietary information
> intended only for the use of the
> addressee(s) named above or may contain information that is legally
> privileged. If you are
> not the intended addressee, or the person responsible for delivering it
> to the intended addressee,
> you are hereby notified that reading, disseminating, distributing or
> copying this message is strictly
> prohibited. If you have received this message by mistake, please
> immediately notify us by
> replying to the message and delete the original message and any copies
> immediately thereafter.
>
> Thank you.
> ******************************************************************************************
>
> CLLD

--
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock              T +43 1 2198790-27
Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
A-1210 Wien                         M +43 664 88657566
                                    E 
roland.asm...@adesso.at<mailto:roland.asm...@adesso.at>
                                    W www.adesso.at<http://www.adesso.at>

-------------------------------------------------------------
             >>> business. people. technology. <<<
-------------------------------------------------------------





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Reply via email to