Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastianbergmann/phpunit-skeleton-generator
Tool that can generate skeleton test classes from production code classes and vice versa.
https://github.com/sebastianbergmann/phpunit-skeleton-generator
Last synced: about 2 months ago
JSON representation
Tool that can generate skeleton test classes from production code classes and vice versa.
- Host: GitHub
- URL: https://github.com/sebastianbergmann/phpunit-skeleton-generator
- Owner: sebastianbergmann
- License: other
- Archived: true
- Created: 2012-01-07T16:05:32.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-04-18T05:40:16.000Z (over 8 years ago)
- Last Synced: 2024-09-21T10:02:32.819Z (2 months ago)
- Language: PHP
- Homepage: http://phpunit.de/
- Size: 120 KB
- Stars: 159
- Watchers: 13
- Forks: 94
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**This project has been abandoned and is no longer maintained.**
# PHPUnit Skeleton Generator
`phpunit-skelgen` is a tool that can generate skeleton test classes from production code classes and vice versa.
## Installation
### PHP Archive (PHAR)
The easiest way to obtain phpunit-skelgen is to download a [PHP Archive (PHAR)](http://php.net/phar) that has all required dependencies of phpunit-skelgen bundled in a single file:
wget https://phar.phpunit.de/phpunit-skelgen.phar
chmod +x phpunit-skelgen.phar
mv phpunit-skelgen.phar /usr/local/bin/phpunit-skelgenYou can also immediately use the PHAR after you have downloaded it, of course:
wget https://phar.phpunit.de/phpunit-skelgen.phar
php phpunit-skelgen.phar### Composer
Simply add a dependency on `phpunit/phpunit-skeleton-generator` to your project's `composer.json` file if you use [Composer](http://getcomposer.org/) to manage the dependencies of your project. Here is a minimal example of a `composer.json` file that just defines a development-time dependency on phpunit/phpunit-skeleton-generator:
{
"require-dev": {
"phpunit/phpunit-skeleton-generator": "*"
}
}For a system-wide installation via Composer, you can run:
composer global require "phpunit/phpunit-skeleton-generator=*"
Make sure you have `~/.composer/vendor/bin/` in your path.