phpunit.plugin.zsh
A zsh plugin for the PHPUnit with usefull commands and an actual autocompletion.
Installation
Antigen:
antigen bundle voronkovich/phpunit.plugin.zsh
Or clone this repo and add this into your .zshrc:
source path/to/cloned/repo/phpunit.plugin.zsh
Usage
This plugin provides a pu
command to invoke a correct local PHPUnit script.
# Always you run the phpunit like this (Symfony application):
$ vendor/bin/phpunit -c app
# The 'pu' finds an appropriate phpunit script
# and phpunit.xml or phpunit.xml.dist files for you:
$ pu
License
Copyright (c) Voronkovich Oleg. Distributed under the MIT.