[
http://jira.codehaus.org/browse/MCOBERTURA-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187108#action_187108
]
Ha Ryon commented on MCOBERTURA-83:
-----------------------------------
I doubt that every application are writing tests that tests thread sync.
While most application tests execution takes at least a few minutes.
It sounds to me that systematically doubling the execution time just because
there might be a test that cobertura will mess up, is kinda overkill.
Make it an option to run the tests twice (for example by setting to executions
of surefire at different times).
Make it that I can run in a few seconds my unit tests, verify coverage of the
classes I modified, and let me run a way longer nightly build where I can run
integration-tests as well as instrumented/non-intrumented validations.
You might add a large warning in cobertura plugin documentations of all the
consequences of using coverage upon the reliance of our tests.
> Can't run install and cobertura:cobertura without running test phase twice
> --------------------------------------------------------------------------
>
> Key: MCOBERTURA-83
> URL: http://jira.codehaus.org/browse/MCOBERTURA-83
> Project: Maven 2.x Cobertura Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Hugo Palma
> Priority: Critical
>
> 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 contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.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