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

This package is auto-updated.

Last update: 2021-01-21 23:15:28 UTC



  • PHP ^= 7.1
  • PHPUnit ^= 7.1


composer require vehikl/php-traffic-light


Implementation is extremely simple. Add the following to your phpunit.xml file:

    <extension class="PhpTrafficLight\TrafficLightExtension" />

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.