2017 © Pedro Peláez
 

library phpunit-notifications

A shell script to get desktop notifications after PHPUnit has run.

image

odino/phpunit-notifications

A shell script to get desktop notifications after PHPUnit has run.

  • Friday, June 21, 2013
  • by odino
  • Repository
  • 2 Watchers
  • 6 Stars
  • 8 Installations
  • Shell
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHPUnit notifications on Linux

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)

Installation

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

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., (*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

The Versions

21/06 2013

dev-master

9999999-dev

A shell script to get desktop notifications after PHPUnit has run.

  Sources   Download

MIT

21/06 2013

1.0.0

1.0.0.0

A shell script to get desktop notifications after PHPUnit has run.

  Sources   Download

MIT