Details
-
Type:
Test
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.0.2
-
Component/s: ContinuousBuild, Testing
-
Labels:None
-
Patch Submitted:Yes
Description
The attached patch improves the Cobertura report in two ways:
- Include files in src/groovy in the Cobertura report. Without this patch, the Cobertura report cannot find the source code for those classes (e.g., org.codehaus.groovy.grails.plugins.converters.codecs.JSONCodec).
- Exclude the test classes from the coverage report. (Including the test classes in the coverage report adversely affects the the coverage percentages, and as a general rule, one is typically only interested in measuring coverage for production code, not test cases.)
Thanks for the patch!