Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-7226

get code coverage working again (cobertura or other)

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.2.0 beta 1
    • None

    Description

      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.

      Attachments

        1. trunk-7226-4.txt
          0.4 kB
          Russ Hatch
        2. trunk-7226-3.txt
          0.4 kB
          Russ Hatch
        3. trunk-7226-2.txt
          0.5 kB
          Russ Hatch
        4. trunk-7226.txt
          8 kB
          Russ Hatch
        5. coverage.png
          89 kB
          Russ Hatch

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rhatch Russ Hatch Assign to me
            rhatch Russ Hatch
            Russ Hatch
            David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment