Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-501

Enable jacoco to capture code coverage data

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 5.0.6.Final
    • None
    • None

      add jacoco maven plugin to this project to capture code coverage data.

      A new profile, e.g., jacoco should be created to contain jacoco configuration. During default build and test run, jacoco will not be triggered.

      To enable jacoco, build and test with jacoco profile along with another primary profile. For example,

      mvn clean verify -P jacoco,allTests
      

      To view the jacoco coverage data:

      open target/site/jacoco/index.html
      

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: