Hi
I added route-coverage to this example
https://github.com/apache/camel-spring-boot-examples/tree/main/spring-boot
You dont need all those annotations, you should only use
@CamelSpringBootTest when testing with spring boot and camel.
See that example.
On Thu, May 6, 2021 at 4:59 PM Ian Briscoe
Hi Claus,
I added the camel-management dependency, but I still don't see any coverage
data being generated in the target directory, so the route-coverage goal is
still producing errors about the lack of coverage data.
I'm assuming I'm right in saying that the route validation the Maven report
plu
Thanks, Claus. I'll try that just as soon as I get back to work after the
holiday weekend - pretty sure that dependency is not currently in the pom.
Ian Briscoe
On Fri, 30 Apr 2021 at 08:28, Claus Ibsen wrote:
> Hi
>
> Can you try adding camel-management as dependency to your classpath.
> If
Hi
Can you try adding camel-management as dependency to your classpath.
If I recall then JMX is required for collecting coverage data.
On Thu, Apr 29, 2021 at 9:37 PM Ian Briscoe
wrote:
>
> Hi,
>
> We're currently using Camel 3.7, Spring Boot 2.3.9 and code our routes
> using the Java DSL. Our t
Hi,
We're currently using Camel 3.7, Spring Boot 2.3.9 and code our routes
using the Java DSL. Our tests use JUnit 5.
I'm interested in using the Camel route coverage report. I've followed all
the directions I can find here:
https://camel.apache.org/manual/latest/camel-report-maven-plugin.html.