https://github.com/vitexsoftware/phpunit-skeleton-generator
Tool that can generate skeleton test classes from production code classes and vice versa.
https://github.com/vitexsoftware/phpunit-skeleton-generator
Last synced: 4 months ago
JSON representation
Tool that can generate skeleton test classes from production code classes and vice versa.
- Host: GitHub
- URL: https://github.com/vitexsoftware/phpunit-skeleton-generator
- Owner: VitexSoftware
- License: other
- Fork: true (sebastianbergmann/phpunit-skeleton-generator)
- Created: 2018-04-17T17:34:57.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T19:05:12.000Z (about 1 year ago)
- Last Synced: 2024-12-28T02:18:46.764Z (about 1 year ago)
- Language: PHP
- Homepage: http://phpunit.de/
- Size: 397 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

# PHPUnit Skeleton Generator
`phpunit-skelgen` is a tool that can generate skeleton test classes from production code classes and vice versa.
## Installation
### Debian Package
Add the new Repo:
```
echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
```
refresh cache and install package:
```
apt update
apt install phpunit-skelgen
```
### 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": {
"vitexsoftware/phpunit-skeleton-generator": "*"
}
}
For a system-wide installation via Composer, you can run:
composer global require "vitexsoftware/phpunit-skeleton-generator=*"
Make sure you have `~/.composer/vendor/bin/` in your path.