[ 
https://jira.codehaus.org/browse/MCOBERTURA-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290515#comment-290515
 ] 

Christoph Kutzinski commented on MCOBERTURA-83:
-----------------------------------------------

{quote}
Be aware, running the tests twice is actually a good thing.
{quote}

Others have said this before and I agree: yes, running tests under different 
conditions is a maybe a good thing, but certainly no tool should force this 
behaviour upon me.
E.g. It would also be a good idea to run tests multiple times in different run 
orders to prevent inadverted dependencies between tests. Still I wouldn't want 
surefire to do this when I wouldn't request it to do so.


                
> Can't run install and cobertura:cobertura without running test phase twice
> --------------------------------------------------------------------------
>
>                 Key: MCOBERTURA-83
>                 URL: https://jira.codehaus.org/browse/MCOBERTURA-83
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Hugo Palma
>            Priority: Critical
>         Attachments: cobertura-report-only-patch-20120201.patch, patch, 
> report-only.patch
>
>
> I want run as part of my CI process the goals:
> mvn install cobertura:cobertura
> The problem is that this causes the test phase to be ran twice.
> AFAIK, there's no way to do this and it's a major issue when doing CI.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to