Skip to content
This repository

Tool that can generate skeleton test classes from production code classes and vice versa.

branch: master

Merge pull request #33 from tcpiptan/composer_spike

Fix: changed phpunit/php-text-template requirements to >=1.1.4
latest commit ef8c3c6703
Sebastian Bergmann authored
Octocat-spinner-32 build Prepare release May 31, 2013
Octocat-spinner-32 src Prepare release May 31, 2013
Octocat-spinner-32 tests Refactor. October 11, 2012
Octocat-spinner-32 .gitignore Refactor. October 11, 2012
Octocat-spinner-32 ChangeLog.markdown Prepare release May 31, 2013
Octocat-spinner-32 LICENSE Initial import. January 09, 2012
Octocat-spinner-32 README.markdown Update PHAR URL September 25, 2013
Octocat-spinner-32 build.xml Refactor. October 11, 2012
Octocat-spinner-32 composer.json Fix: changed phpunit/php-text-template requirements to >=1.1.4 February 22, 2014
Octocat-spinner-32 phpunit-skelgen.bat Initial import. January 09, 2012
Octocat-spinner-32 phpunit-skelgen.php Refactor. October 11, 2012
README.markdown

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 to download and install PHPUnit_SkeletonGenerator as well as its dependencies. You can also download a PHP Archive (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 https://phar.phpunit.de/phpunit-skelgen.phar
chmod +x phpunit-skelgen.phar

Documentation

The skeleton generator is documented in the PHPUnit Manual.

Something went wrong with that request. Please try again.