PHPUnit Skeleton Generator scripts do not exist

I tried to use PHPUnit on Netbeans, so I installed it using a pear, however, when I try to configure the path to the skeleton generator scripts (phpunit-skelgen.bat) in the options menu, I can not find the path to phpunit-skelgen.bat.Only PHPUnit script exists in (D: \ xampp \ php \ phpunit.bat). I read a couple of tutorials on how to install, but it does not work.

+4
source share
2 answers

You can install it from the composer :

{
    "require-dev": {
        "phpunit/phpunit-skeleton-generator": "*"
    }
}

Or directly download and use phar:

wget https://phar.phpunit.de/phpunit-skelgen.phar
php phpunit-skelgen.phar
+3
source

Source: https://habr.com/ru/post/1535144/


All Articles