Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

PHPUnit Notifier

Demo

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"?>
<phpunit>
    <testsuites>
        <testsuite name="Test Suite">
            <directory>tests</directory>
        </testsuite>
    </testsuites>
    <listeners>
        <listener class="PHPUnitNotifier\NotifierListener"></listener>
    </listeners>
</phpunit>

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

About

Desktop notifications for PHPUnit

Resources

License

Packages

No packages published

Languages