vitexsoftware / phpunit-skeleton-generator
Tool that can generate skeleton test classes from production code classes and vice versa
Fund package maintenance!
Patreon
Installs: 4 156
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 94
Open Issues: 1
Requires
- php: >=7.1
- phpunit/php-text-template: *
- sebastian/version: *
- symfony/console: *
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-15 00:22:05 UTC
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 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.