Download the PHP package stolt/phpunit-blink1-test-listener without Composer
On this page you can find all versions of the php package stolt/phpunit-blink1-test-listener. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stolt/phpunit-blink1-test-listener
More information about stolt/phpunit-blink1-test-listener
Files in stolt/phpunit-blink1-test-listener
Package phpunit-blink1-test-listener
Short Description A blink(1) test listener for PHPUnit.
License MIT
Informations about the package phpunit-blink1-test-listener
PHPUnit blink(1) test listener
This package provides an implementation of the PHPUnit_Framework_TestListener interface interacting with a blink(1) USB notification LED light. It provides you a fast, visual feedback loop while TDDing with PHPUnit.
With this test listener a failing PHPUnit test run will turn the LED light red, while a successful one will make it blink green, and while incomplete, skipped, or risky tests will make it blink yellow.
Preconditions
This package assumes that the blink1-tool is installed on your system to enable the communication with your blink(1) LED light. On Mac OS, the targeted system of this package, this can be done easily via brew.
Installation via Composer
Configuration
To use the blink(1) test listener with its default configuration add the following to your phpunit.xml(.dist) file.
It's possible to configure the blink amount (default is three) of the test state colors. Furthermore it's also possible to overwrite the behavior of the failure test state (default is a permanently turned on LED until a test state transition happens) to uniflow with the other test states.
Running tests
License
This package is licensed under the MIT license. Please see LICENSE for more details.
Changelog
Please see CHANGELOG for more details.
Code of Conduct
Please see CONDUCT for more details.
Contributing
Please see CONTRIBUTING for more details.
All versions of phpunit-blink1-test-listener with dependencies
phpunit/php-timer Version ^2.0
phpunit/phpunit Version ^7.0
symfony/process Version ^3.2