vehikl/php-traffic-light
Composer 安装命令:
composer require vehikl/php-traffic-light
包简介
Extend PHPUnit to control the traffic light based on test results.
README 文档
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.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2019-07-16