You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (JIRA)" <ji...@apache.org> on 2018/12/14 07:52:00 UTC
[jira] [Commented] (CAMEL-13001) Route coverage: specify coverage
to fail on
[ https://issues.apache.org/jira/browse/CAMEL-13001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721028#comment-16721028 ]
Aurélien Pupier commented on CAMEL-13001:
-----------------------------------------
for implementation:
I think that a new Mojo parameter (so a Java attribute) can be added in this class [https://github.com/apache/camel/blob/master/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java] )
then it can be used here to fail also with a dedicated message when the threshold is not reached:
https://github.com/apache/camel/blob/d5ba98ed43229afe1c1aa24e8e3d6492460d8bd4/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java#L258-L260
> Route coverage: specify coverage to fail on
> -------------------------------------------
>
> Key: CAMEL-13001
> URL: https://issues.apache.org/jira/browse/CAMEL-13001
> Project: Camel
> Issue Type: Improvement
> Components: tooling
> Reporter: Aurélien Pupier
> Priority: Major
>
> currently, there is an option to fail the build if the coverage does not reach 100%.
> it would be nice to be able to specify the level of coverage wanted as a parameter of the maven plugin
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)