kujira/phpunit-printer

PHPUnit 结果打印机

1.0.1 2014-07-05 15:29 UTC

This package is not auto-updated.

Last update: 2024-09-24 02:21:51 UTC


README

PHPUnit 结果打印机

要求

  • PHP 5.3.0 或更高版本。

外观效果

Alt text

安装

composer global require "kujira/phpunit-printer:1.0.1"

配置

  • 添加到您的 phpunit.xml 文件中
    <phpunit
        bootstrap="bootstrap.php"
        colors="true"
        printerFile="/home/biotope/.composer/vendor/kujira/phpunit-printer/src/Printer.php"
        printerClass="Kujira\PHPUnit\Printer"
    >
  • 配置您的 php.ini 中的 default_charset 为 UTF-8
  • 配置您的终端以显示 UTF-8 字符集,并使用与 DejaVu Sans Mono 兼容的字体

许可证

该 Kujira 结果打印机适用于 PHPUnit,采用MIT 许可协议