Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.8
-
Fix Version/s: 1.1
-
Labels:None
-
Number of attachments :
Description
If you specify a file set that should not be instrumented using the 'maven.jcoverage.instrumentation.exclude' property your tests will fail if any of them depend on those files.
For example, I set 'maven.jcoverage.instrumentation.excludes=**/*Exception.class' so that my Exception classes would not be calculated in my code coverage stats. Unfortunately, my tests wouldn't run because all of my classes, including my test classes, rely on the Exception classes.
This is fairly critical for me, so I've attached a patch.
Activity
Michael Gaffney
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | patch.txt [ 13191 ] |
Emmanuel Venisse
made changes -
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | 1.0.10 [ 11470 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
Attached patch file.