You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Johan Oskarsson (JIRA)" <ji...@apache.org> on 2009/04/06 15:27:12 UTC

[jira] Created: (CASSANDRA-55) Add code coverage to build

Add code coverage to build
--------------------------

                 Key: CASSANDRA-55
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-55
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Johan Oskarsson
            Priority: Minor


To help us get a clear overview of which important parts of the code unit tests are missing we should add a code coverage tool to the build.

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


[jira] Commented: (CASSANDRA-55) Add code coverage to build

Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696140#action_12696140 ] 

Johan Oskarsson commented on CASSANDRA-55:
------------------------------------------

Apologies. To use it:
1. Unzip this one: http://prdownloads.sourceforge.net/cobertura/cobertura-1.9.1-bin.zip?download
2. ant codecoverage -Dcobertura.dir=/path/to/cobertura
3. check build/cobertura

Generally this will happen on Hudson automatically for us, so we can check the latest report online.

> Add code coverage to build
> --------------------------
>
>                 Key: CASSANDRA-55
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-55
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Priority: Minor
>         Attachments: CASSANDRA-55.patch
>
>
> To help us get a clear overview of which important parts of the code unit tests are missing we should add a code coverage tool to the build.

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


[jira] Commented: (CASSANDRA-55) Add code coverage to build

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696138#action_12696138 ] 

Jonathan Ellis commented on CASSANDRA-55:
-----------------------------------------

what do I need to download to make this work?  i see a comment "can't include due to licensing" that leaves me more confused than enlightened :)

> Add code coverage to build
> --------------------------
>
>                 Key: CASSANDRA-55
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-55
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Priority: Minor
>         Attachments: CASSANDRA-55.patch
>
>
> To help us get a clear overview of which important parts of the code unit tests are missing we should add a code coverage tool to the build.

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


[jira] Assigned: (CASSANDRA-55) Add code coverage to build

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

Jonathan Ellis reassigned CASSANDRA-55:
---------------------------------------

    Assignee: Johan Oskarsson

> Add code coverage to build
> --------------------------
>
>                 Key: CASSANDRA-55
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-55
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>         Attachments: CASSANDRA-55.patch
>
>
> To help us get a clear overview of which important parts of the code unit tests are missing we should add a code coverage tool to the build.

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


[jira] Resolved: (CASSANDRA-55) Add code coverage to build

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

Jonathan Ellis resolved CASSANDRA-55.
-------------------------------------

    Resolution: Fixed

applied

> Add code coverage to build
> --------------------------
>
>                 Key: CASSANDRA-55
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-55
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Priority: Minor
>         Attachments: CASSANDRA-55.patch
>
>
> To help us get a clear overview of which important parts of the code unit tests are missing we should add a code coverage tool to the build.

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


[jira] Updated: (CASSANDRA-55) Add code coverage to build

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

Johan Oskarsson updated CASSANDRA-55:
-------------------------------------

    Attachment: CASSANDRA-55.patch

Adds a "codecoverage" target that runs the cobertura instrumentation, then the tests and finally generates a report in both html and xml format.

> Add code coverage to build
> --------------------------
>
>                 Key: CASSANDRA-55
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-55
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Priority: Minor
>         Attachments: CASSANDRA-55.patch
>
>
> To help us get a clear overview of which important parts of the code unit tests are missing we should add a code coverage tool to the build.

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


[jira] Commented: (CASSANDRA-55) Add code coverage to build

Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696078#action_12696078 ] 

Johan Oskarsson commented on CASSANDRA-55:
------------------------------------------

I have used http://cobertura.sourceforge.net/ before and it works well. There are Hudson plugins installed already here: http://hudson.zones.apache.org/hudson. The ant tasks are Apache licensed but the program itself is under GPL. We don't need to ship the program with Cassandra though, it only needs to be installed on the Hudson machine.
Thoughts?

> Add code coverage to build
> --------------------------
>
>                 Key: CASSANDRA-55
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-55
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Priority: Minor
>
> To help us get a clear overview of which important parts of the code unit tests are missing we should add a code coverage tool to the build.

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