Søren Mortensen created CAMEL-12491:
---------------------------------------
Summary: route-coverage : report summary problem
Key: CAMEL-12491
URL: https://issues.apache.org/jira/browse/CAMEL-12491
Project: Camel
Issue Type: Bug
Affects Versions: 2.21.0
Reporter: Søren Mortensen
Consider the example code given in CAMEL-12483
When running camel:route-coverage the report show to many passes for the
routes. It looks like the RouteCoverageEventNotifier files holds the sum of all
tests, and not just the values for the single test method.
{code:java}
Class: dk.smor.MySpringBootRouter
Route: myRouteId
Line # Count Route
------ ----- -----
11 8 from
13 8 log
15 8 choice
16 2 setBody
18 2 log
20 2 setBody
22 2 log
24 2 setBody
26 2 log
28 2 setBody
30 2 log
Coverage: 11 out of 11 (100.0%)
{code}
each log statement should only have been passed 1 time. And a total for 4
passes for the whole route.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)