Modify

Ticket #274 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

PHPUnit 3.3RC1 incompatibility with code coverage

Reported by: silfreed@… Owned by: mrook
Priority: major Milestone: 2.3.1
Component: phing-tasks-phpunit Version: 2.3.1RC1
Keywords: Cc:

Description

I haven't had time to look into this in-depth yet, but I get a bunch of warnings when running code coverage reports with Phing 2.3RC1 and PHPUnit 3.3RC1 like the following:

overageMerger.php]
[PHP Error] reset(): Passed variable is not an array or object [line 39 of /home/silfreed/src/mozdev/production/hovercraft-sandbox-php/pear/phing/tasks/ext/coverage/CoverageMerger.php]
[PHP Error] current(): Passed variable is not an array or object [line 41 of /home/silfreed/src/mozdev/production/hovercraft-sandbox-php/pear/phing/tasks/ext/coverage/CoverageMerger.php]
[PHP Error] current(): Passed variable is not an array or object [line 85 of /home/silfreed/src/mozdev/production/hovercraft-sandbox-php/pear/phing/tasks/ext/coverage/CoverageMerger.php]

The tests seem to run correctly, but the results don't look like any code was actually covered by the tests.

-Doug

Attachments

Change History

comment:1 Changed 3 years ago by mrook

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #263.

View

Add a comment

Modify Ticket

Action
as closed
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.