[GRADLE-2954] gradle jacoco plugin shows excluded packages with 0% coverage Created: 18/Nov/13 Updated: 24/Feb/14 Resolved: 24/Feb/14 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Gradle Forums | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Description |
|
If I exclude a package from coverage reporting via test { jacoco { excludes = ["com.blah.*"] }} it is excluded in the jacoco runtime but not in the report generation. |
| Comments |
| Comment by Gradle Forums [ 18/Nov/13 ] |
|
Any chance of getting a complete sample we can use to create a fix? |
| Comment by Gradle Forums [ 18/Nov/13 ] |
|
You can see it in the java quickstart example if you add: test.jacoco.excludes << "*Person" I made a quick example in github [1]https://github.com/frankiesardo/jacoc... |
| Comment by Daz DeBoer [ 24/Feb/14 ] |
|
Duplicates |