EllisLab/CodeIgniter — Issue #1145: Unit Tests Fail (PHPUnit 3.6.10/PHP_CodeCoverage 1.1.2)
Author: tiyowan
Created: 2012-03-08 09:39:32+00:00
State: open

Ubuntu 11.10 (lamp-server)
PHPUnit 3.6.10 stable
PHP_CodeCoverage 1.1.2 stable

When trying to run unit tests for CI using the testing branch, I get:

Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /var/www/CodeIgniter/tests/Bootstrap.php on line 22

PHPUnit Reference: https://github.com/sebastianbergmann/php-code-coverage/issues/82
Looks like they've dropped the PHP_CodeCoverage_Filter::getInstance() method

I'm working on a patch.