Global phpunit cli script that finds your project's phpunit and runs it.
Open Issues: 0
- php: >=5.5
This package is not auto-updated.
Last update: 2023-06-02 15:45:51 UTC
Many PHP projects now supply PHPUnit via
require-dev in composer.
This means that to run PHPUnit, you often have to supply a full path
to the local
This package is intended to be installed globally, and supplies you with a
phpunit script as well.
This script will automatically find a
composer.json in your current path
or one of its parents, and find the correct "local" phpunit script and
runs it for you.
In addition to that, it will also attempt to find
phpunit.xml.dist and change the working directory to that path before
running the real
This means that using this script, you can just invoke
phpunit from wherever
you are in your project, and it will run it correctly.
composer global require evert/phpunit-bin
Make sure that after you run that, your global composer
bin directory is
$PATH. This is usually