Uploading Coverage Reports
|
How to generate coverage report
-
Coverage report should be configured in JSON format for IZ Analyzer to scan and upload the report. Refer Maven Configuration for Coverage
-
Before scanning the project, make sure MUnit test cases are executed and coverage report is generated
Coverage report upload
-
IZ Analyzer scans the coverage JSON report from appropriate locations based on the Mule version. No additional configuration parameters are required to enable scanning of coverage reports
-
Following directories will be scanned for coverage report based on the mule version. (These are the default locations where MUnit coverage reports will be generated) -
-
Mule 3
target/munit-reports/coverage-json/report.json
-
Mule 4
target/site/munit/coverage/munit-coverage.json
-
-
On successful analysis coverage report should be uploaded to server with following statistics -
-
Overall coverage percentage
-
File level coverage percentage
-
Flow level coverage details details
-