Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 789 Bytes

unit-tests-and-code-coverage.md

File metadata and controls

7 lines (4 loc) · 789 Bytes

Unit Tests and Code Coverage

NotificationService is integrated with JACOCO for code coverage. There is a "reports" module in the code base which helps to generate code coverage when compiled the build with maven without skipping the testcases. Jacoco reports are generated in target folder of each module. Report module target folder will have the summary report combining all the modules code coverage.

Sonar with Circleci is also integrated to provide the codecoverage when a Pull Request is raised to the code base in github. Internally this uses the coverage report generated by the report module to calculate the code coverage of the github repository.