Desktop notifications for PHPUnit
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Pretty icon on OSX Apr 3, 2015
.gitignore Initial commit Apr 2, 2015
LICENSE Add license informations Apr 3, 2015 Add info to define notifier globally Apr 10, 2015
composer.json Listener should work from PHPUnit 4.0 Apr 9, 2015

PHPUnit Notifier


Use composer to install on your project:

$ composer require --dev "mdarse/phpunit-notifier"

To set up, just register PHPUnitNotifier\NotifierListener in the listeners section of you phpunit.xml.

Example of PHPUnit XML configuration:

<?xml version="1.0" encoding="UTF-8"?>
        <testsuite name="Test Suite">
        <listener class="PHPUnitNotifier\NotifierListener"></listener>

There is no supported mean to globally setup the notifier for every project, but here is a dirty workaround.