Desktop notifications for PHPUnit

v1.0.4 2018-01-24 10:15 UTC

This package is auto-updated.

Last update: 2022-06-29 01:56:44 UTC



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.