camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-10345) camel-test - Route coverage summary to be logged
Date Sun, 09 Oct 2016 07:16:21 GMT

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

Claus Ibsen resolved CAMEL-10345.
---------------------------------
    Resolution: Fixed
      Assignee: Claus Ibsen

> camel-test - Route coverage summary to be logged
> ------------------------------------------------
>
>                 Key: CAMEL-10345
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10345
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.19.0
>
>
> The camel-test has a feature to dump route coverages. We should do some summary logging
to output 
> https://github.com/apache/camel/blob/master/components/camel-test/src/main/java/org/apache/camel/test/junit4/CamelTestSupport.java#L378
> INFO Route coverage (6 out of 6 routes used)
> WARN Route coverage (5 out of 6 routes used)
> And do a WARN log if one or more route was not in use during testing.
> It may be some percentage instead 100%, 75% etc. eg to count each EIP/node and see how
many has 0 in total exchange count.
> We can then later do a drill down, and point out which EIP/node that hasn't been covered
in a route.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message