nyancat-phpunit-resultprinter

Nyan Cat result printer for PHPUnit

Github星跟踪图

Requirements

The Nyan Cat result printer for PHPUnit requires:

  • PHP 7+.
  • PHPUnit 6+.
  • A terminal emulator with support for ANSI escape sequences, including color
    and cursor control.

Use version ^1.3 to support PHPUnit 4.8+ / 5+.

NOTE: By default, the Windows console does not support ANSI escape
sequences. If you'd like to use the Nyan Cat result printer on Windows, you
may want to try one of the following solutions:

Installation

The recommended way to install the Nyan Cat result printer for PHPUnit is
through composer. Just create a composer.json file
and run the composer install command to install it:

{
    "require-dev": {
        "whatthejeff/nyancat-phpunit-resultprinter": "^2.0"
    }
}

Once installed, add the following attributes to the <phpunit> element in your
phpunit.xml file:

printerFile="vendor/whatthejeff/nyancat-phpunit-resultprinter/src/NyanCat/PHPUnit/ResultPrinter.php"
printerClass="NyanCat\PHPUnit\ResultPrinter"

NOTE: If PHPUnit was not installed via composer, you also need to include
the composer autoloader. One easy way to do this is to add the following
attribute to the <phpunit> element in your phpunit.xml file:

bootstrap="vendor/autoload.php"

Tests

Build Status

To run the test suite, you need composer.

$ composer install
$ composer test

Acknowledgements

The Nyan Cat result printer for PHPUnit was heavily inspired by the
glorious mocha/nyan.js.

License

The Nyan Cat result printer for PHPUnit is licensed under the MIT license.

主要指标

概览
名称与所有者whatthejeff/nyancat-phpunit-resultprinter
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2013-02-15 11:11:21
推送于2019-01-24 15:38:39
最后一次提交2018-01-10 01:45:25
发布数6
最新版本名称v2.0.0 (发布于 2018-01-10 02:56:27)
第一版名称v1.0.0 (发布于 2013-02-15 06:42:19)
用户参与
星数282
关注者数5
派生数21
提交数46
已启用问题?
问题数8
打开的问题数3
拉请求数5
打开的拉请求数3
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?