whatthejeff/emoji-phpunit-resultprinter 问题修复 & 功能扩展

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

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

whatthejeff/emoji-phpunit-resultprinter

Composer 安装命令:

composer require whatthejeff/emoji-phpunit-resultprinter

包简介

Emojis for your PHPUnit test results!

README 文档

README

Screenshot of the Emoji result printer for PHPUnit

Requirements

The Emoji result printer for PHPUnit requires:

  • PHP 5.3.3 or later.
  • A terminal emulator with emoji support.

Installation

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

{
    "require-dev": {
        "whatthejeff/emoji-phpunit-resultprinter": "~1.0"
    }
}

NOTE: If PHPUnit was not installed via composer, you also need to include the composer autoloader when running your tests. 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"

Available printers

The available printers are listed below. To enable one, just copy the attributes from the code section under the title and paste it to the <phpunit> element in your phpunit.xml file.

Default printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/ResultPrinter.php"
printerClass="Emoji\PHPUnit\ResultPrinter"
  • Error: 💥
  • Failure: 🚨
  • Incomplete: 🚧
  • Risky: ⚠️
  • Skipped: 🚩
  • Pass:

Face printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/FaceResultPrinter.php"
printerClass="Emoji\PHPUnit\FaceResultPrinter"
  • Error: 😲
  • Failure: 😡
  • Incomplete: 😶
  • Risky: 😬
  • Skipped: 😑
  • Pass: 😊

Weather printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/WeatherResultPrinter.php"
printerClass="Emoji\PHPUnit\WeatherResultPrinter"
  • Error:
  • Failure:
  • Incomplete: ☁️
  • Risky:
  • Skipped: 🌀
  • Pass: ☀️

Cat printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/CatResultPrinter.php"
printerClass="Emoji\PHPUnit\CatResultPrinter"
  • Error: 🙀
  • Failure: 😿
  • Incomplete: 🐱
  • Risky: 😾
  • Skipped: 😼
  • Pass: 😻

Fruit printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/FruitResultPrinter.php"
printerClass="Emoji\PHPUnit\FruitResultPrinter"
  • Error: 🍎
  • Failure: 🍅
  • Incomplete: 🍋
  • Risky: 🍊
  • Skipped: 🍈
  • Pass: 🍏

Heart printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/HeartResultPrinter.php"
printerClass="Emoji\PHPUnit\HeartResultPrinter"
  • Error: 💔
  • Failure: 💔
  • Incomplete: 💛
  • Risky: 💚
  • Skipped: 💙
  • Pass: ❤️

Hand printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/HandResultPrinter.php"
printerClass="Emoji\PHPUnit\HandResultPrinter"
  • Error: 👊
  • Failure: 👊
  • Incomplete:
  • Risky:
  • Skipped:
  • Pass: 👍

Tests

Build Status

To run the test suite, you need composer.

$ php composer.phar install
$ vendor/bin/phpunit

License

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

统计信息

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

GitHub 信息

  • Stars: 21
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-05-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固