0

I am new to PHPUnit. I have installed PHPUnit using PEAR I am using PHP 5.4.7

When I give command phpunit --bootstrap src/autoload.php tests/MoneyTest I got the below error

Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in D:\xampp\php\phpunit on line 39

If I run the same code with Netbeans 7.4, the same error occurs.

Please provide your suggestions. Thanks in advance.

3
  • possible duplicate of stackoverflow.com/questions/9186000/… Commented Feb 17, 2014 at 18:06
  • Hi Royal, Thanks, but again it shows No releases available for package "pear.phpunit.de/PHPUnit" Commented Feb 18, 2014 at 7:15
  • Hi Royal, Thank you. I tried with composer. It throws an exception "You must enable the openssl extension to download files via https" Commented Feb 18, 2014 at 9:52

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.