-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Route coverage #151
Comments
I started working on the basic support for generating route coverage and being able to parse that into your camel routes, via the camel-route-parser from Apache Camel. Then we can use that in IDEA plugin to know which of the tested routes has or has not been covered and highlight each EIP node etc. Its a lot of work and so far its a prototype |
Apache Camel JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-8657 |
@davsclaus thanks for this! many asks about camel route coverage. Any plans on adding the option to provide a coverage threshold percentage as an option in the plugin in case someone doesn't want to go against 100% like it works now? |
@nauticalmike yeah we just talked about this in this ticket |
@davsclaus thanks! |
@davsclaus it seems that CAMEL-13001 does not exist on that tracker. Did it get renamed? |
Dont know but its added in git sha |
When running Camel unit tests you can turn on route coverage which stores data in xml file.
http://camel.apache.org/camel-test.html
We should parse those and be able to match which source code lines match which EIPs and then somehow show that in the code with a coverage numbers of some sort.
Maybe in the gutter we can show a red / yellow / green number that shows how many times it has been executed or something.
The text was updated successfully, but these errors were encountered: