Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.md | H A D | 25-Apr-2025 | 1.4 KiB | 22 | 14 | |
pom.xml | H A D | 25-Apr-2025 | 3.3 KiB | 86 | 80 |
README.md
1## Coverage Report 2 3This module gathers aggregated jacoco test coverage metrics across the `api-common`, `gax-java` and `showcase` modules. The purpose of 4the 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 5(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. 6 7### Unit Test Coverage 8In order to view aggregate unit test coverage of api-common and GAX in `api-common`, `gax-java` and `showcase`: 9 101. At the root of the repository, run `mvn clean test -DenableShowcaseTestCoverage`. 112. The metrics can be found at `gapic-generator-java/coverage-report/target/site/jacoco-aggregate/index.html` 12 13 14 15### Integration Test Coverage 16 17In order to view aggregate integration test coverage of api-common and GAX in `api-common`, `gax-java` and `showcase`: 18 191. At the root of the repository, run `mvn clean verify -DskipUnitTests -DenableShowcaseTestCoverage -Penable-integration-tests`. 202. The metrics can be found at `gapic-generator-java/coverage-report/target/site/jacoco-aggregate/index.html` 21 22