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 2018/02/01 15:02:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Claus Ibsen resolved CAMEL-8657.
--------------------------------
    Resolution: Fixed

We have a basic implementation now that can output route-coverage.

We can do new work in the future to generate a nice HTML report etc. Hopefully people in the community can step to build such things.

> 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
>            Priority: Major
>             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
(v7.6.3#76005)