[ https://issues.apache.org/jira/browse/CAMEL-12974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-12974: -------------------------------- Issue Type: Improvement (was: Bug) > Route coverage: When and otherwise are not marked as covered > ------------------------------------------------------------ > > Key: CAMEL-12974 > URL: https://issues.apache.org/jira/browse/CAMEL-12974 > Project: Camel > Issue Type: Improvement > Components: tooling > Affects Versions: 2.21.0 > Reporter: Aurélien Pupier > Priority: Major > > - use a route with a choice with when and otherwise inside. > - launch mvn test camel:route-coverage > - when and otherwise are marked with a 0 count even if they were used > examples of the CBR examples available in Eclipse Fuse Tooling: > {noformat}Route: cbr-route > Line # Count Route > ------ ----- ----- > 33 5 from > 34 5 log > 35 5 choice > 36 0 when > 38 2 log > 39 2 to > 41 0 when > 43 2 log > 44 2 to > 46 0 otherwise > 47 1 log > 48 1 to > 51 5 log > Coverage: 10 out of 13 (76.9%){noformat} > we can notice that elements inside when and otherwise are well counted but > when and otherwise are at 0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)