Bonjour à tous,
Il m'est totalement impossible de tester mon code, pourtant PHPUnit me semble bien installé dans mon projet. Preuve :
PS D:\lab\php\phpunit> vendor/bin/phpunit --version
PHPUnit 6.4.1 by Sebastian Bergmann and contributors.
D'où proviendrait cette erreur :
1
Fatal error: Class 'PHPUnit_Framework_TestCase' not found in D:\lab\php\phpunit\tests\unit\SampleTest.php on line 3
Et mon SampleTest.php
<?php
class SampleTest extends \PHPUnit_Framework_TestCase
{
//
}
A noter que je suis sur windows 10.
Merci d'avance...