camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10345) camel-test - Route coverage summary to be logged
Date Wed, 05 Oct 2016 20:17:20 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15549821#comment-15549821
] 

ASF GitHub Bot commented on CAMEL-10345:
----------------------------------------

GitHub user tkopczynski opened a pull request:

    https://github.com/apache/camel/pull/1198

    CAMEL-10345: Logging additional summary for routes coverage

    This adds logging additional summary in routes coverage report.
    
    Fixes CAMEL-10345

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tkopczynski/camel camel-10345

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1198.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1198
    
----
commit 48f61f6d8c83e653b55b8328fab39bfb7f7a125c
Author: Tomasz Kopczynski <tomek@kopczynski.net.pl>
Date:   2016-10-05T20:12:35Z

    CAMEL-10345: Logging additional summary for routes coverage in camel-test

----


> 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
>            Priority: Minor
>             Fix For: Future
>
>
> 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