Answer the question
In order to leave comments, you need to log in
How to properly install phpunit?
Hello, I can't install phpunit.
1. Downloaded phpunit.phar
2. Put it in the right folder
3. Set the Path environment variable to the full path to phpunit.phar.
4. I rebooted the computer
, I do it on the command line:
phpunit --version, - не является внутренней или внешней командой...
php phpunit.phar --version
- everything works. but I can’t run the test, because phpunit itself doesn’t find the classes. Answer the question
In order to leave comments, you need to log in
a .phar file is not a Windows executable, so it won't work on the command line:
phpunit --version
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question