dev-master
9999999-devA shell script to get desktop notifications after PHPUnit has run.
MIT
1.0.0
1.0.0.0A shell script to get desktop notifications after PHPUnit has run.
MIT
Wallogit.com
2017 © Pedro Peláez
A shell script to get desktop notifications after PHPUnit has run.
Thanks to the notify-send utility this script
lets you send a desktop notification once PHPUnit tests
are done, outputting whether they ran succesfully or not., (*1)
Just clone this repository anywhere, then modify your shell profile file by adding:, (*2)
source /path/to/phpunit-notifications/phpunit-notifications.sh
Make sure the script is executable:, (*3)
chmod +x /path/to/phpunit-notifications/phpunit-notifications.sh
This script assumes that you have PHPUnit installed
via composer in your vendor directory, so that the PHPUnit
binary is locate at ./vendor/bin/phpunit., (*4)
To use it, just run the PHPUnit tests by replacing ./vendor/bin/phpunit
with a simple phpunit:, (*5)
phpunit // or php -c config // or phpunit tests/My/ClassTest.php
A shell script to get desktop notifications after PHPUnit has run.
MIT
A shell script to get desktop notifications after PHPUnit has run.
MIT