geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Bretl <asf.mbr...@gmail.com>
Subject Re: Test Coverage Mapping
Date Sat, 11 Nov 2017 00:25:22 GMT
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 Smith <dsmith@pivotal.io> wrote:

> 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 <dsmith@pivotal.io> 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 <prhomberg@pivotal.io
> >
> > 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
> >>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message