Is there a code coverage tool that understands Camel DSL?
Issue
In our tests, code coverage tools like coberatura can not tell if there is coverage for all the elements of the choice, only that this statement was tested. For example,
from("direct:a")
.choice()
.when(isPathA)
.to...
.when(isPathB)
.to...
.when(noPath)
.throwException(new SAXParseException("INVALID MESSAGE DATA",null))
.end()
Is there a tool that can look into these camel DSL lines of code and do that kind of determination?
Environment
- Fuse Mediation Router
- 2.x
- JBoss Fuse
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.