vehikl / php-traffic-light
There is no license information available for the latest version (v1.1.4) of this package.
Extend PHPUnit to control the traffic light based on test results.
v1.1.4
2020-02-21 21:23 UTC
Requires
- php: ^7.1
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ^7.1
This package is auto-updated.
Last update: 2024-11-19 23:00:34 UTC
README
Requirements
- PHP ^= 7.1
- PHPUnit ^= 7.1
Installation
composer require vehikl/php-traffic-light
Usage
Implementation is extremely simple. Add the following to your phpunit.xml
file:
<extensions> <extension class="PhpTrafficLight\TrafficLightExtension" /> </extensions>
Additionally, you must ensure that your environment has the following environment variables:
TRAFFIC_LIGHT_ENABLED
- this determines if the plugin is enabled. This should only be true (1
) on the mobbing computer.
That's it! The traffic light in the lounge should now reflect the state of the mobbing tests.