Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /opt/cloudlinux/alt-php55/root/usr/share/doc/pear/PHPUnit_SkeletonGenerator/ |
# PHPUnit_SkeletonGenerator `phpunit-skelgen` is a tool that can generate skeleton test classes from production code classes and vice versa. ## Installation There a two supported ways of installing PHPUnit_SkeletonGenerator. You can use the [PEAR Installer](http://pear.php.net/manual/en/guide.users.commandline.cli.php) to download and install PHPUnit_SkeletonGenerator as well as its dependencies. You can also download a [PHP Archive (PHAR)](http://php.net/phar) of PHPUnit_SkeletonGenerator that has all required dependencies of PHPUnit_SkeletonGenerator bundled in a single file. ### PEAR Installer The following two commands (which you may have to run as `root`) are all that is required to install PHPUnit_SkeletonGenerator using the PEAR Installer: pear config-set auto_discover 1 pear install pear.phpunit.de/PHPUnit_SkeletonGenerator ### PHP Archive (PHAR) wget http://pear.phpunit.de/get/phpunit-skelgen.phar chmod +x phpunit-skelgen.phar ## Documentation The skeleton generator is documented in the [PHPUnit Manual](http://www.phpunit.de/manual/current/en/skeleton-generator.html).