Refactor SonarCloud showcase test coverage to show meaningful results #2068
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: cleanup
An internal cleanup or hygiene concern.
We have SonarCloud set up to track showcase coverage for both unit tests and integration tests. Integration test coverage can help with determining how much of end-to-end behavior we are testing and also provide more relevant information as showcase ITs are handwritten. On the other hand, the unit tests are generated.
Tracking unit test coverage can sometimes add noise to the PRs. This is particularly relevant when we are upgrading
grpc
which results in the re-generation of classes that are generated by thegRPC proto compiler
(example: #1989). This makes it a little difficult to determine whether the coverage result is actionable or not.Proposed changes after discussion with @burkedavison to ensure that test coverage results are more meaningful:
gapic-showcase/
folder. This will allow us to focus on coverage for code generated bygapic-generator-java
.The text was updated successfully, but these errors were encountered: