You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (JIRA)" <ji...@apache.org> on 2018/12/03 16:09:00 UTC

[jira] [Updated] (CAMEL-12974) Route coverage: When and otherwise are not marked as covered

     [ https://issues.apache.org/jira/browse/CAMEL-12974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aurélien Pupier updated CAMEL-12974:
------------------------------------
    Component/s: tooling

> 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: Bug
>          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:
> {quote}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%){quote}
> 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)