项目作者: JoseVte

项目描述 :
PHPUnit Unicode Printer
高级语言: PHP
项目地址: git://github.com/JoseVte/phpunit-unicode-printer.git
创建时间: 2018-01-19T14:18:25Z
项目社区:https://github.com/JoseVte/phpunit-unicode-printer

开源协议:MIT License

下载


PHPUnit Unicode Printer


Total Downloads
Latest Stable Version
License

Installation

To get the last version of PHPUnit Unicode Printer, simply require the project using Composer:

  1. composer require --dev josrom/phpunit-unicode-printer:9.*

Instead, you may of course manually update your require block and run composer update if you so choose:

  1. {
  2. "require-dev": {
  3. "josrom/phpunit-unicode-printer": "9.*"
  4. }
  5. }

Modify the phpunit.xml to add the printer:

  1. <phpunit ...
  2. colors="true"
  3. printerClass="PHPUnit\Printer"
  4. ...>
  5. ...
  6. </phpunit>

or

  1. <phpunit ...
  2. colors="true"
  3. printerClass="PHPUnit\PrinterClass"
  4. ...>
  5. ...
  6. </phpunit>

or

  1. <phpunit ...
  2. colors="true"
  3. printerClass="PHPUnit\PrinterMethod"
  4. ...>
  5. ...
  6. </phpunit>

PHPUnit 8

For previous versions of PHPUnit use the tag 0.4.* or 8.*

PHPUnit 7

For previous versions of PHPUnit use the tag 0.3.* or 7.*

PHPUnit 6

For previous versions of PHPUnit use the tag 0.2.*

PHPUnit <5

For previous versions of PHPUnit use the tag 0.1.*