jeudi 2 avril 2015

Fatal error: Class 'PHPUnit_Framework_TestCase' not found in dbunit\PHPUnit\Extensions\Database\TestCase.php on line 24

I want to write tests for Mysql Database. When I try to extend the database extension, it gives me the above error in title.



class FixtureTestCase extends PHPUnit_Extensions_Database_TestCase


Note: I have installed PHPUnit globally and I can access it through phpunit in cmd. I have latest PHPUnit 4.5.1. I also installed Dbunit globally through composer composer global require phpunit/dbunit. Any help will be much appreciated. Thank you. P.S: I've PHP 5.4.


Aucun commentaire:

Enregistrer un commentaire