Modify

Opened 5 years ago

Closed 4 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)

build_target.xml (574 bytes) - added by arzala@… 5 years ago.
Build target example

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by arzala@…

Build target example

comment:1 Changed 4 years ago by mrook

  • Milestone changed from 2.4.2 to 2.4.3

comment:2 Changed 4 years ago by victor

  • Owner changed from mrook to victor
  • Status changed from new to assigned

comment:3 Changed 4 years ago by victor

(In [965]) Refs #501: Regression test build.xml added

comment:4 Changed 4 years ago by victor

(In [966]) Refs #501: Added bootstrapper to regression test

comment:5 Changed 4 years ago by mrook

(In [980]) Refs #501 - implement whitelist filtering for PHPUnit 3.4

comment:6 Changed 4 years ago by mrook

  • Resolution set to fixed
  • Status changed from assigned to closed

Should be fixed now!

Add Comment

Modify Ticket

Action
as closed The owner will remain victor.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.