From: John W. L. <Joh...@sa...> - 2010-04-28 18:44:15
|
There are some limitations with generating a coverage report with Groovy. Please take a look here: http://jira.codehaus.org/browse/GROOVY-3118 From: Shurgin,Gary [mailto:sh...@oc...] Sent: Wednesday, April 28, 2010 12:20 PM To: cob...@li... Subject: [Cobertura-devel] Incomplete coverage reported for a groovy constructor class. I have the following groovy code. class MyClass extends BaseClass { MyClass( OtherClass field ) { super ( field ) } .... } The BaseClass has only 1 constructor, with the same parameter. Cobertura reports that the 'super' statement does not complete branch coverage. The error message is Line 16: Conditional coverage 50% (2/4) [each condition: 50%, 50%]. Is there something that I am not doing correctly? Is this a cobertura problem with groovy? If so, is it known? Thanks Gary Shurgin Software Engineer OCLC, Inc. |