diablomedia/phpunit-pretty-printer
最新稳定版本:v5.0.0
Composer 安装命令:
composer require diablomedia/phpunit-pretty-printer
包简介
A PHPUnit result printer that shows per-file test progress and execution times
README 文档
README
A PHPUnit result printer that shows per-file test progress and execution times.
Installation
composer.phar require --dev diablomedia/phpunit-pretty-printer
Usage
It's suggested to use the phpunit installed by composer.
You can specify the printer to use on the phpunit command line:
php vendor/bin/phpunit --printer 'DiabloMedia\PHPUnit\Printer\PrettyPrinter' tests/
To see per-test execution times, use the --debug flag:
php vendor/bin/phpunit --printer 'DiabloMedia\PHPUnit\Printer\PrettyPrinter' --debug tests/
Optionally, you can add it to your project's phpunit.xml file instead:
<phpunit bootstrap="bootstrap.php" colors="true" printerClass="DiabloMedia\PHPUnit\Printer\PrettyPrinter">
Screenshots
Default output:
Debug output showing time to run:
Acknowledgements
Inspiration for the default output was taken from https://github.com/adm-husker/kujira-phpunit-printer.
统计信息
- 总下载量: 490.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 80
- 点击次数: 1
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-16

