PartyBus CI Unit test coverage
Add unit tests until coverage reaches a minimum of 80%
Check test coverage option 1
Use an IDE like Intellij Idea and run the tests with coverage.
Check test coverage option 2
Temporarily modify build.gradle to output jacoco html report
locally generate the html report.
docker run -it --rm -v $(pwd):/app registry1.dso.mil/ironbank/opensource/gradle/gradle-jdk11:7.4.2 bash
cd /app
gradle clean
gradle test
gradle jacocoTestReport
Open the build/jacoco/test/index.html with a browser. Navigate in the browser to identify lines of code that need a test.
Edited by kevin.wilder