[ 
https://issues.apache.org/jira/browse/GEODE-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Smith updated GEODE-5389:
-----------------------------
    Description: 
Add a job to the concourse pipeline that generates two code coverage reports
* A code coverage report just from the unit tests (The test task)
* A code coverage report from all of the tests (test, integrationTest, 
distributedTest, acceptanceTest, ...?)

There should be support in the gradle build already to run tests with code 
coverage enabled and generate the report. However, this code may not have been 
tested recently so it's possible it no longer works. This is how it used to work

{code}
#Run the tests with code coverage enabled
./gradlew -PcodeCoverage test distributedTest integrationTest

#Generate a report of the coverage from all tests
./gradlew -PcodeCoverage jacocoOverallTestReport

#Generate a report of the coverage from just the unit tests
./gradlew -PcodeCoverage jacocoTestReport
{code}

  was:
We want to add to jobs 

Add a task to the develop pipeline to generate a code coverage report from all 
of the test jobs.

Q


> Add a job to generate a code coverage report
> --------------------------------------------
>
>                 Key: GEODE-5389
>                 URL: https://issues.apache.org/jira/browse/GEODE-5389
>             Project: Geode
>          Issue Type: Task
>          Components: tests
>            Reporter: Dan Smith
>            Priority: Major
>              Labels: swat
>
> Add a job to the concourse pipeline that generates two code coverage reports
> * A code coverage report just from the unit tests (The test task)
> * A code coverage report from all of the tests (test, integrationTest, 
> distributedTest, acceptanceTest, ...?)
> There should be support in the gradle build already to run tests with code 
> coverage enabled and generate the report. However, this code may not have 
> been tested recently so it's possible it no longer works. This is how it used 
> to work
> {code}
> #Run the tests with code coverage enabled
> ./gradlew -PcodeCoverage test distributedTest integrationTest
> #Generate a report of the coverage from all tests
> ./gradlew -PcodeCoverage jacocoOverallTestReport
> #Generate a report of the coverage from just the unit tests
> ./gradlew -PcodeCoverage jacocoTestReport
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to