cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Hatch (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-7226) get code coverage working again (cobertura or other)
Date Wed, 25 Jun 2014 18:16:27 GMT

    [ 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)

Mime
View raw message