For the complete documentation index, see llms.txt. This page is also available as Markdown.

Coverage Reports

Uploading Coverage Reports

How to generate coverage report

  1. Coverage report should be configured in JSON format for IZ Analyzer to scan and upload the report. Refer to Maven Configuration for Coverage.

  2. Before scanning the project, make sure MUnit test cases are executed and coverage report is generated.

Coverage report upload

  1. 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

  2. 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) -

    1. Mule 3 target/munit-reports/coverage-json/report.json

    2. Mule 4 target/site/munit/coverage/munit-coverage.json

  3. On successful analysis coverage report should be uploaded to server with following statistics -

    1. Overall coverage percentage

    2. File level coverage percentage

    3. Flow level coverage details details

See Also

Last updated

Was this helpful?