You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Ralph Jocham (JIRA)" <ji...@apache.org> on 2008/05/07 21:22:55 UTC

[jira] Created: (SHINDIG-243) Adding Cobertura support to project

Adding Cobertura support to project
-----------------------------------

                 Key: SHINDIG-243
                 URL: https://issues.apache.org/jira/browse/SHINDIG-243
             Project: Shindig
          Issue Type: Improvement
          Components: Common Components (Java), Gadget Rendering Server (Java), RESTful API (Java)
         Environment: all environments supporting maven 2
            Reporter: Ralph Jocham
            Priority: Minor


run mvn cobertura:cobertura and the target folder of each module will contain a cobertura sub folder featuring the report html.

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


[jira] Updated: (SHINDIG-243) Adding Cobertura support to project

Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassie Doll updated SHINDIG-243:
--------------------------------

    Attachment: cobertura2.patch

This patch demonstrates how to put the report in the reporting profile only. (at least i'm 90% sure this is right)

However, when I run this with mvn cobertura:cobertura, the only files that end up in the cobertura subdirs are called cobertura.ser. I'm not seeing any report.html files and the build is not giving any errors. 

Anybody have any ideas as to what I got wrong?
Thanks.

> Adding Cobertura support to project
> -----------------------------------
>
>                 Key: SHINDIG-243
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-243
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java), Gadget Rendering Server (Java), RESTful API (Java)
>         Environment: all environments supporting maven 2
>            Reporter: Ralph Jocham
>            Priority: Minor
>         Attachments: cobertura.patch, cobertura2.patch
>
>
> run mvn cobertura:cobertura and the target folder of each module will contain a cobertura sub folder featuring the report html.

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


[jira] Commented: (SHINDIG-243) Adding Cobertura support to project

Posted by "Ralph Jocham (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595689#action_12595689 ] 

Ralph Jocham commented on SHINDIG-243:
--------------------------------------

Thanks for the prompt reply. Cobertura is just the first step. It it less invasive then pmd etc. I always like to have an idea about how well a project is covered by tests. (sure, test coverage is only half of the 'how well is your code tested' equation).

I guess, I could use some help. I am new to Maven2 and this is the best  I could come up. Is it really really with every build. I thoght that only mvn cobertura:cobertura invokes the additonial steps. Could you provide an example?


> Adding Cobertura support to project
> -----------------------------------
>
>                 Key: SHINDIG-243
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-243
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java), Gadget Rendering Server (Java), RESTful API (Java)
>         Environment: all environments supporting maven 2
>            Reporter: Ralph Jocham
>            Priority: Minor
>         Attachments: cobertura.patch
>
>
> run mvn cobertura:cobertura and the target folder of each module will contain a cobertura sub folder featuring the report html.

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


[jira] Updated: (SHINDIG-243) Adding Cobertura support to project

Posted by "Ralph Jocham (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Jocham updated SHINDIG-243:
---------------------------------

    Attachment: cobertura.patch

Adding Cobertura support for Java Test Coverage

> Adding Cobertura support to project
> -----------------------------------
>
>                 Key: SHINDIG-243
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-243
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java), Gadget Rendering Server (Java), RESTful API (Java)
>         Environment: all environments supporting maven 2
>            Reporter: Ralph Jocham
>            Priority: Minor
>         Attachments: cobertura.patch
>
>
> run mvn cobertura:cobertura and the target folder of each module will contain a cobertura sub folder featuring the report html.

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


[jira] Resolved: (SHINDIG-243) Adding Cobertura support to project

Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassie Doll resolved SHINDIG-243.
---------------------------------

    Resolution: Fixed
      Assignee: Cassie Doll

thanks Vincent!
this has been checked in.

> Adding Cobertura support to project
> -----------------------------------
>
>                 Key: SHINDIG-243
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-243
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java), Gadget Rendering Server (Java), RESTful API (Java)
>         Environment: all environments supporting maven 2
>            Reporter: Ralph Jocham
>            Assignee: Cassie Doll
>            Priority: Minor
>         Attachments: cobertura.patch, cobertura2.patch
>
>
> run mvn cobertura:cobertura and the target folder of each module will contain a cobertura sub folder featuring the report html.

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


[jira] Commented: (SHINDIG-243) Adding Cobertura support to project

Posted by "Siveton Vincent (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596408#action_12596408 ] 

Siveton Vincent commented on SHINDIG-243:
-----------------------------------------

Cassie, you need to call the site goal, something like the following
mvn site -Preporting

> Adding Cobertura support to project
> -----------------------------------
>
>                 Key: SHINDIG-243
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-243
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java), Gadget Rendering Server (Java), RESTful API (Java)
>         Environment: all environments supporting maven 2
>            Reporter: Ralph Jocham
>            Priority: Minor
>         Attachments: cobertura.patch, cobertura2.patch
>
>
> run mvn cobertura:cobertura and the target folder of each module will contain a cobertura sub folder featuring the report html.

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


[jira] Commented: (SHINDIG-243) Adding Cobertura support to project

Posted by "Vincent Siveton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595060#action_12595060 ] 

Vincent Siveton commented on SHINDIG-243:
-----------------------------------------

This idea is great *if* (and only if!) it will be useful for the team, i.e. the team will take care about this report.
If the Shindig team will use quality reports, I recommend other useful reports like checkstyle, pmd or clirr plugins

To optimize the build, I recommend to use your patch in the reporting profile (in the parent POM), so it will not be included in each build (like this patch do)

> Adding Cobertura support to project
> -----------------------------------
>
>                 Key: SHINDIG-243
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-243
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java), Gadget Rendering Server (Java), RESTful API (Java)
>         Environment: all environments supporting maven 2
>            Reporter: Ralph Jocham
>            Priority: Minor
>         Attachments: cobertura.patch
>
>
> run mvn cobertura:cobertura and the target folder of each module will contain a cobertura sub folder featuring the report html.

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