esler/phpunit-graceful-interrupt
最新稳定版本:12.0
Composer 安装命令:
composer require esler/phpunit-graceful-interrupt
包简介
Allow gracefully interrupt running PHPUnit tests
README 文档
README
A simple plug-in which allows to you interrupt running PHPUnit tests gracefully.
Instalation
composer require --dev esler/phpunit-graceful-interrupt
For PHPUnit >= 10
Add extension to your `phpunit.xml` <phpunit> <extensions> <bootstrap class="Esler\PHPUnit\GracefulInterruptExtension" /> </extensions> </phpunit>
For PHPUnit < 10
Add listener to your phpunit.xml
<phpunit> <listeners> <listener class="Esler\PHPUnit\Listener\GracefulInterruptListener" /> </listeners> </phpunit>
Usage
Just hit Ctrl+\ to interrupt running tests. Errors and failures from previous tests will be shown.
More info.
License
MIT
统计信息
- 总下载量: 77.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-07