[ http://jira.codehaus.org/browse/MCLOVER-48?page=comments#action_76415 ] Vincent Massol commented on MCLOVER-48: ---------------------------------------
I'm currently working on this. I've added tests and they've just proven that the patch doesn't work in all cases :-) For example clover:check does not honor the contextFilter configuration parameter. I'm working on fixing this. > Add support for block contexts > ------------------------------ > > Key: MCLOVER-48 > URL: http://jira.codehaus.org/browse/MCLOVER-48 > Project: Maven 2.x Clover Plugin > Issue Type: New Feature > Affects Versions: 2.2 > Reporter: Robert Newson > Assigned To: Vincent Massol > Fix For: 2.3 > > Attachments: contextFilter.patch > > > We use a lot of asserts in our code. We would like to exclude the assert > lines from our code coverage figures. The Ant, Eclipse and Maven 1.x plugin > support Clover's "block context" feature. Can the Maven 2.x plugin be > enhanced to support this? > http://www.cenqua.com/clover/doc/adv/contexts.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira