You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/10/09 08:24:00 UTC

[jira] [Commented] (CAMEL-8657) Add Maven Plugin to generate route coverage report

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

Claus Ibsen commented on CAMEL-8657:
------------------------------------

Posted a blog and recorded a video of the tooling in action (early prototype)
http://www.davsclaus.com/2017/10/apache-camel-route-coverage-tooling-on.html

> Add Maven Plugin to generate route coverage report
> --------------------------------------------------
>
>                 Key: CAMEL-8657
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8657
>             Project: Camel
>          Issue Type: New Feature
>          Components: tests, tooling
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.21.0
>
>         Attachments: FilterTest-testSendMatchingMessage.xml, Screen Shot 2015-04-18 at 11.38.05 AM.png
>
>
> With help from CAMEL-8656 we can enable unit tests to generate xml files with route statistics.
> What we need is then a mvn plugin to generate a nice report from those, such as a html page that has a summary, and then a detailed route with colored lines for route usage, so you can spot which routes has unused parts etc.
> For starters the route can be dumped as xml from the report as its already in xml format. Its a matter of removing the noise, and then apply css or what style to do if exchangesTotal=0 and if its > 0 etc.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)