Skip to content
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

Open
davsclaus opened this issue Jan 10, 2017 · 7 comments
Open

Route coverage #151

davsclaus opened this issue Jan 10, 2017 · 7 comments

Comments

@davsclaus
Copy link
Collaborator

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.

@davsclaus
Copy link
Collaborator Author

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

@davsclaus davsclaus self-assigned this Oct 7, 2017
@davsclaus
Copy link
Collaborator Author

Apache Camel JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-8657

@nauticalmike
Copy link

@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?

@davsclaus
Copy link
Collaborator Author

davsclaus commented Dec 20, 2018

@nauticalmike yeah we just talked about this in this ticket
https://issues.apache.org/jira/browse/CAMEL-13001

@nauticalmike
Copy link

@davsclaus thanks!

@davsclaus davsclaus removed their assignment Jul 25, 2019
@Dragas
Copy link

Dragas commented Oct 9, 2019

@davsclaus it seems that CAMEL-13001 does not exist on that tracker. Did it get renamed?

@davsclaus
Copy link
Collaborator Author

Dont know but its added in git sha
8815693a5eba664994ba4b1e1887fd0363105f86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants