Modify ↓
Ticket #274 (closed defect: duplicate)
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
Note: See
TracTickets for help on using
tickets.

Duplicate of #263.