Bonjour,
Impossible de lancer les tests unitaire avec PhpUnit et Netbeans dans mon projet GSB_AppliMVC. J'ai le message d'erreur ci-joint dans la capture que se soit avec la class Calculator utilisé dans le tuto officiel https://netbeans.org/kb/docs/php/phpunit.html ou avec la class class.utils.inc. Je précise que tout fonctionne avec la class Calculator dans le projet dédié.
"C:\wamp\bin\php\php7.0.10\phpunit-skelgen.bat" "--ansi" "generate-test" "Calculator" "C:\wamp\www\GSB_AppliMVC\www\includes\Calculator.php" "CalculatorTest" "C:\wamp\www\GSB_AppliMVC\www\test_unitaires\includes\CalculatorTest.php"
'OFF' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
C:\wamp\www\GSB_AppliMVC\www>OFF php "C:\wamp\bin\php\php7.0.10\phpunit-skelgen.phar"--ansi generate-test Calculator C:\wamp\www\GSB_AppliMVC\www\includes\Calculator.php CalculatorTest C:\wamp\www\GSB_AppliMVC\www\test_unitaires\includes\CalculatorTest.php
Done.
"C:\wamp\bin\php\php7.0.10\phpunit-skelgen.bat" "--ansi" "generate-test" "Utils" "C:\wamp\www\GSB_AppliMVC\www\includes\class.utils.inc.php" "UtilsTest" "C:\wamp\www\GSB_AppliMVC\www\test_unitaires\includes\class.utils.incTest.php"
C:\wamp\www\GSB_AppliMVC\www>OFF php "C:\wamp\bin\php\php7.0.10\phpunit-skelgen.phar"--ansi generate-test Utils C:\wamp\www\GSB_AppliMVC\www\includes\class.utils.inc.php UtilsTest C:\wamp\www\GSB_AppliMVC\www\test_unitaires\includes\class.utils.incTest.php
'OFF' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
Done.
Merci.







.
Répondre avec citation
Partager