PHPUnit_Framework_TestCase
brightproject opened this issue · 3 comments
When the file gets executed http://localhost/tests/Develop/paris/test/ModelPrefixingTest.php it gives this error
Fatal error: Class 'PHPUnit_Framework_TestCase' not found in Z:\home\localhost\www\Tests\Develop\paris\test\ModelPrefixingTest.php on line
Class like extended:
class ModelPrefixingTest extends PHPUnit_Framework_TestCase { }
What problem?
Tests should be run via PHPUnit. http://www.phpunit.de/manual/3.8/en/index.html
How do I get these tests?
As previously mentioned - you need to install PHPUnit before you can run the projects tests. Then via the terminal/console/command line in the root directory of the project just execute phpunit
. For more information and documentation follow the link that @CarolD posted.