Closed cwichoski closed 2 weeks ago
I found a solution and going to provide a pull request
I pushed a solution here [1] but I'm with difficult to understand what jacoco needs me to test more, as it's my first time using a project with jacoco and with 100% of code coverage needed, anyone have a clue what more I need to test?
[INFO] Analyzed bundle 'jhlite' with 815 classes
[WARNING] Rule violated for class tech.jhipster.lite.module.infrastructure.secondary.javadependency.maven.MavenCommandHandler: lines covered ratio is 0.99, but expected minimum is 1.00
[1] https://github.com/jhipster/jhipster-lite/compare/main...cwichoski:jhipster-lite:bug10129
anyone have a clue what more I need to test?
@cwichoski : After running ./mvnw clean verify
, go to the target/site/jacoco
folder and open the index.html
file, which shows the coverage for every package. Navigate to your class and see what is missing to test.
I'm adding a bounty on this important ticket as @murdos and @cwichoski worked a lot on this, you can share the bounty plz
Discussed in https://github.com/jhipster/jhipster-lite/discussions/10111