Modify ↓
Opened 3 years ago
Closed 3 years ago
#501 closed defect (fixed)
formatter type "clover" of task "phpunit" doesn't generate coverage according to task "coverage-setup"
| Reported by: | arzala@… | Owned by: | victor |
|---|---|---|---|
| Priority: | major | Milestone: | 2.4.3 |
| Component: | phing-tasks-phpunit | Version: | 2.4.1 |
| Keywords: | Cc: |
Description
My traget generate coverage reports in 2 xml formats viz. xml and clover using phpunit and coverage-setup tasks. But formatter clover includes coverage of ALL (other libraries etc.) files which are executed during tests and not just the files defined in task coverage-setup. However formatter xml generates correct xml report. This problem doesn't occur when I generate these 2 reports from PHPUnit (it's configuration file phpunit.xml) itself.
My Phing version if 2.4.1 while PHPUnit version is 3.4.12.
Attachments (1)
Change History (7)
Changed 3 years ago by arzala@…
comment:1 Changed 3 years ago by mrook
- Milestone changed from 2.4.2 to 2.4.3
comment:2 Changed 3 years ago by victor
- Owner changed from mrook to victor
- Status changed from new to assigned
comment:3 Changed 3 years ago by victor
comment:4 Changed 3 years ago by victor
comment:5 Changed 3 years ago by mrook
comment:6 Changed 3 years ago by mrook
- Resolution set to fixed
- Status changed from assigned to closed
Should be fixed now!
Note: See
TracTickets for help on using
tickets.

Build target example