You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ryan McGuire (JIRA)" <ji...@apache.org> on 2013/04/13 00:22:16 UTC

[jira] [Created] (CASSANDRA-5462) Ant code coverage with unit and dtests

Ryan McGuire created CASSANDRA-5462:
---------------------------------------

             Summary: Ant code coverage with unit and dtests
                 Key: CASSANDRA-5462
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5462
             Project: Cassandra
          Issue Type: New Feature
            Reporter: Ryan McGuire
            Assignee: Brandon Williams


This is a patch to our build.xml to integrate a cobertura code coverage report across both the unit tests and the dtests. I've had this working for awhile, but it's rather unwieldy: it takes over 7 hours for it to run on my i5 based laptop. This is because it runs through the entire dtest suite twice, once without vnodes turned on, and once with. It does work repeatably though so although it's a monster, it's probably worth including.

See http://static.enigmacurry.com/tmp/cobertura-report-4-with-vnodes/ for sample output, run against trunk today.

Once applied, you just need to run '*ant codecoverage*'

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