Details
Description
- 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:
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%)
we can notice that elements inside when and otherwise are well counted but when and otherwise are at 0