This module gathers aggregated jacoco test coverage metrics across the api-common
, gax-java
and showcase
modules. The purpose of the metrics is to provide insights into how much of api-common and GAX code is being exercised by showcase, GAX and api-common tests and where (unit tests versus integration tests). They will also assist with tracking any changes in coverage as showcase tests continue to be added to the repository.
In order to view aggregate unit test coverage of api-common and GAX in api-common
, gax-java
and showcase
:
mvn clean test -DenableTestCoverage
.gapic-generator-java/coverage-report/target/site/jacoco-aggregate/index.html
In order to view aggregate integration test coverage of api-common and GAX in api-common
, gax-java
and showcase
:
mvn clean verify -DskipUnitTests -DenableTestCoverage -Penable-integration-tests
.gapic-generator-java/coverage-report/target/site/jacoco-aggregate/index.html