czim/phpunit-printer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

czim/phpunit-printer

最新稳定版本:2.0.2

Composer 安装命令:

composer require czim/phpunit-printer

包简介

Customized PHPUnit output

README 文档

README

Custom styled PHPUnit print output for testing our projects.

Compatibility

PHPUnit version Package version
< 9 0.9
9 1.0
10 2.0

Install

composer require czim/phpunit-printer --dev

Usage

You can add the package extension to your project's phpunit.xml file:

<phpunit>
    <!-- ... -->

    <extensions>
        <bootstrap class="Czim\PHPUnitPrinter\PrintExtension"/>
    </extensions>
    
    <!-- ... -->
</phpunit>

Then you can run with only the new custom output by hiding the default progress:

vendor/bin/phpunit --no-progress

You can also run it with normal progress. The custom formatting will be displayed directly after the normal progress indicators when all tests are finished.

统计信息

  • 总下载量: 50.67k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-08