odino/phpunit-notifications
Composer 安装命令:
composer require odino/phpunit-notifications
包简介
A shell script to get desktop notifications after PHPUnit has run.
README 文档
README
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.
Installation
Just clone this repository anywhere, then modify your shell profile file by adding:
source /path/to/phpunit-notifications/phpunit-notifications.sh
Make sure the script is executable:
chmod +x /path/to/phpunit-notifications/phpunit-notifications.sh
Usage
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.
To use it, just run the PHPUnit tests by replacing ./vendor/bin/phpunit
with a simple phpunit:
phpunit
// or
php -c config
// or
phpunit tests/My/ClassTest.php
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-06-21