承接 diablomedia/phpunit-pretty-printer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Build Latest Stable Version Total Downloads License

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:

phpunit-pretty-printer

Debug output showing time to run:

phpunit-pretty-printer-debug

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

GitHub 信息

  • Stars: 78
  • Watchers: 5
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-16