Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a developer, I want a jacoco test coverage report on every build #419

Open
james-d-brown opened this issue Feb 12, 2025 · 3 comments
Open
Labels
automated testing Fix or improve automated software tests

Comments

@james-d-brown
Copy link
Collaborator

Given a build pipeline
When each build completes with associated junit tests
Then I expect to see a jacoco code coverage report in the build/reports directory
So that I can eventually display this information on the github landing page

( Last step isn't necessarily required to complete this ticket, but would be nice. )

@james-d-brown james-d-brown added the automated testing Fix or improve automated software tests label Feb 12, 2025
@james-d-brown
Copy link
Collaborator Author

james-d-brown commented Feb 12, 2025

Was working at some point, still has the jacoco plugin applied in our build.gradle, but it appears not to generate a report on each build. Step (1): test the jacocoTestReport task. Step (2): if it doesn't work, fix it, if it does, configure to run on each build.

https://docs.gradle.org/current/userguide/jacoco_plugin.html

@james-d-brown
Copy link
Collaborator Author

Context is that a solutions architect working with the customer was asking about code coverage recently and we couldn't immediately point to this.

@james-d-brown
Copy link
Collaborator Author

Second part of this ticket (display on landing page) can be completed in #378.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated testing Fix or improve automated software tests
Projects
None yet
Development

No branches or pull requests

1 participant