Generating a route coverage report with Red Hat build of Apache Camel for Quarkus
Issue
- How can one generate a route coverage report when running unit tests in Red Hat build of Apache Camel for Quarkus?
- No route coverage data is created even when running unit tests with
-DCamelTestRouteCoverage=true
. -
Even after running unit tests, the
camel-report-maven-plugin
outputs the following warning:[WARNING] No route coverage data found for route: <route id>. Make sure to enable route coverage in your unit tests and assign unique route ids to your routes. Also remember to run unit tests first.
Environment
- Red Hat build of Apache Camel 4.x
- Red Hat build of Apache Camel for Quarkus 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.