Fatal error: Class PHPUnit_Extensions_Database_TestCase not found
AlessandroMinoccheri opened this issue · 2 comments
AlessandroMinoccheri commented
Hi,
I have installed my project and phpunit inside a machine with MacOSX 10.9
When I run phpunit inside my project with your repository, I get:
Fatal error: Class 'PHPUnit_Extensions_Database_TestCase' not found in ....
I have also tried:
phpunit --include-path .:/project_path/application/tests
but it doesn't work.
I run phpunit from the root of the project where is put phpunit.xml
How can I solve?
feryardiant commented
You need DBUnit Extension for PHPUnit, read here https://phpunit.de/manual/current/en/database.html
fmalk commented
@feryardiant thanks for pointing that out