Re: Test Coverage Mapping
Yea, the integration into the Apache SonarQube dropped off at some point. I can look into it again. As for the coverage for tests, take a look at $root/gradle/code-analysis.gradle for seeing how code coverage works now. I think we have 'test integrationTest distributedTest' configured for creating HTML reports, acceptanceTests need to be added. --Mark On Fri, Nov 10, 2017 at 2:23 PM, Dan Smithwrote: > Sorry, wrong link. I think they updated analysis.apache.org to this: > > https://builds.apache.org/analysis > > -Dan > > On Fri, Nov 10, 2017 at 2:00 PM, Dan Smith wrote: > > > We have some support in our gradle build to run tests coverage manually > > with something like this: > > > > ../gradlew clean test integrationTest distributedTest acceptanceTest > > -PcodeCoverage jacocoOverallTestReport > > > > This should generate a code coverage report. At one point I know we were > > talking about integrating with analysis.apache.org, which is running > > sonarqube, but I don't know what happened with that. I don't think there > is > > any job that is automatically running these tests with coverage. > > > > -Dan > > > > On Fri, Nov 10, 2017 at 12:11 PM, Patrick Rhomberg > > > wrote: > > > >> Hello, all. > >> > >> While looking at expanding testing coverage, the natural question > arose: > >> what does the existing test coverage map look like? > >> Does anyone know if we have an existing code-coverage analysis done as > >> part of our testing? If there is, does anyone know if our DUnitTests or > >> AcceptanceTests are (or could be) included in the coverage map? I think > >> this could be a very useful tool in driving new tests and the detection > of > >> dead code. > >> > >> Imagination is Change. > >> ~Patrick > >> > > > > >
Re: Test Coverage Mapping
Sorry, wrong link. I think they updated analysis.apache.org to this: https://builds.apache.org/analysis -Dan On Fri, Nov 10, 2017 at 2:00 PM, Dan Smithwrote: > We have some support in our gradle build to run tests coverage manually > with something like this: > > ../gradlew clean test integrationTest distributedTest acceptanceTest > -PcodeCoverage jacocoOverallTestReport > > This should generate a code coverage report. At one point I know we were > talking about integrating with analysis.apache.org, which is running > sonarqube, but I don't know what happened with that. I don't think there is > any job that is automatically running these tests with coverage. > > -Dan > > On Fri, Nov 10, 2017 at 12:11 PM, Patrick Rhomberg > wrote: > >> Hello, all. >> >> While looking at expanding testing coverage, the natural question arose: >> what does the existing test coverage map look like? >> Does anyone know if we have an existing code-coverage analysis done as >> part of our testing? If there is, does anyone know if our DUnitTests or >> AcceptanceTests are (or could be) included in the coverage map? I think >> this could be a very useful tool in driving new tests and the detection of >> dead code. >> >> Imagination is Change. >> ~Patrick >> > >
Re: Test Coverage Mapping
We have some support in our gradle build to run tests coverage manually with something like this: ../gradlew clean test integrationTest distributedTest acceptanceTest -PcodeCoverage jacocoOverallTestReport This should generate a code coverage report. At one point I know we were talking about integrating with analysis.apache.org, which is running sonarqube, but I don't know what happened with that. I don't think there is any job that is automatically running these tests with coverage. -Dan On Fri, Nov 10, 2017 at 12:11 PM, Patrick Rhombergwrote: > Hello, all. > > While looking at expanding testing coverage, the natural question arose: > what does the existing test coverage map look like? > Does anyone know if we have an existing code-coverage analysis done as > part of our testing? If there is, does anyone know if our DUnitTests or > AcceptanceTests are (or could be) included in the coverage map? I think > this could be a very useful tool in driving new tests and the detection of > dead code. > > Imagination is Change. > ~Patrick >
Test Coverage Mapping
Hello, all. While looking at expanding testing coverage, the natural question arose: what does the existing test coverage map look like? Does anyone know if we have an existing code-coverage analysis done as part of our testing? If there is, does anyone know if our DUnitTests or AcceptanceTests are (or could be) included in the coverage map? I think this could be a very useful tool in driving new tests and the detection of dead code. Imagination is Change. ~Patrick