You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Russ Hatch (JIRA)" <ji...@apache.org> on 2014/06/25 20:16:27 UTC
[jira] [Comment Edited] (CASSANDRA-7226) get code coverage working
again (cobertura or other)
[ https://issues.apache.org/jira/browse/CASSANDRA-7226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043858#comment-14043858 ]
Russ Hatch edited comment on CASSANDRA-7226 at 6/25/14 6:15 PM:
----------------------------------------------------------------
include only classes from build/classes/main (effectively excluding build/classes/thrift and built/classes/stress) from the reporting task.
patch attached.
was (Author: rhatch):
include only classes from build/classes/main (effectively excluding build/classes/thrift and built/classes/stress) from the reporting task.
> get code coverage working again (cobertura or other)
> ----------------------------------------------------
>
> Key: CASSANDRA-7226
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7226
> Project: Cassandra
> Issue Type: Test
> Reporter: Russ Hatch
> Assignee: Russ Hatch
> Fix For: 3.0
>
> Attachments: coverage.png, trunk-7226-2.txt, trunk-7226-3.txt, trunk-7226-4.txt, trunk-7226.txt
>
>
> We need to sort out code coverage again, for unit and cassandra-dtest tests. Preferably the same tool for both.
> Seems like cobertura project activity has dwindled. Jacoco might be a viable alternative to cobertura. Jacoco can can instrument running bytecode so I think it could also work for dtests (does require an agent, not sure if that's a problem yet). If using an agent is problematic looks like it can also work with offline bytecode though I don't see how that could benefit dtests. Project seems pretty active, with a release just last week.
--
This message was sent by Atlassian JIRA
(v6.2#6252)