You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Bob Morley (JIRA)" <ji...@apache.org> on 2010/04/08 06:18:36 UTC

[jira] Updated: (OFBIZ-3659) Download cobertura code coverage jar so it can be used to compile and execute tests with

     [ https://issues.apache.org/jira/browse/OFBIZ-3659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bob Morley updated OFBIZ-3659:
------------------------------

    Attachment: OFBIZ-3659_AutomateDownloadOfCobertura.patch

Minor changes but please review the ant fairly closely (it isn't something I do very often).  The intent here is to execute this before compilation (so that the CoberturaInstrumenter gets compiled if the jar has been deployed); but this should be done optionally -- if it fails the build will continue on without instrumentation.  Developer impact is that when they do a build it will pull down this jar (if possible) and when they run the test container it will instrument and generate code coverage metrics.

> Download cobertura code coverage jar so it can be used to compile and execute tests with
> ----------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3659
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3659
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Bob Morley
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3659_AutomateDownloadOfCobertura.patch
>
>
> Framework executed around allowing use of cobertura to create code coverage metrics as part of the Ofbiz build process.  Licensing restricts distribution of cobertura with Ofbiz, so we have taken the approach to attempt to download it before doing our build so it is available for any container that wants instrumentation turned on (currently only test-container).  Net result is when we run our tests we will now get very nice code coverage metrics being generated.
> There is an existing target to generate the cobertura report (html) which is not automatically being executed.  Once we get more reasonable code coverage via unit testing we can automatically generate this and expose it as appropriate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.