2017 © Pedro Peláez
 

library emoji-phpunit-resultprinter

Emojis for your PHPUnit test results!

image

whatthejeff/emoji-phpunit-resultprinter

Emojis for your PHPUnit test results!

  • Monday, August 11, 2014
  • by whatthejeff
  • Repository
  • 1 Watchers
  • 21 Stars
  • 3,489 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Screenshot of the Emoji result printer for PHPUnit, (*1)

Requirements

The Emoji result printer for PHPUnit requires:, (*2)

  • 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:, (*3)

{
    "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:, (*4)

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., (*5)

Default printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/ResultPrinter.php"
printerClass="Emoji\PHPUnit\ResultPrinter"
  • Error: :boom:
  • Failure: :rotating_light:
  • Incomplete: :construction:
  • Risky: :warning:
  • Skipped: :triangular_flag_on_post:
  • Pass: :star:

Face printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/FaceResultPrinter.php"
printerClass="Emoji\PHPUnit\FaceResultPrinter"
  • Error: :astonished:
  • Failure: :rage:
  • Incomplete: :no_mouth:
  • Risky: :grimacing:
  • Skipped: :expressionless:
  • Pass: :blush:

Weather printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/WeatherResultPrinter.php"
printerClass="Emoji\PHPUnit\WeatherResultPrinter"
  • Error: :zap:
  • Failure: :umbrella:
  • Incomplete: :cloud:
  • Risky: :partly_sunny:
  • Skipped: :cyclone:
  • Pass: :sunny:

Cat printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/CatResultPrinter.php"
printerClass="Emoji\PHPUnit\CatResultPrinter"
  • Error: :scream_cat:
  • Failure: :crying_cat_face:
  • Incomplete: :cat:
  • Risky: :pouting_cat:
  • Skipped: :smirk_cat:
  • Pass: :heart_eyes_cat:

Fruit printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/FruitResultPrinter.php"
printerClass="Emoji\PHPUnit\FruitResultPrinter"
  • Error: :apple:
  • Failure: :tomato:
  • Incomplete: :lemon:
  • Risky: :tangerine:
  • Skipped: :melon:
  • Pass: :green_apple:

Heart printer

printerFile="vendor/whatthejeff/emoji-phpunit-resultprinter/src/Emoji/PHPUnit/HeartResultPrinter.php"
printerClass="Emoji\PHPUnit\HeartResultPrinter"
  • Error: :broken_heart:
  • Failure: :broken_heart:
  • Incomplete: :yellow_heart:
  • Risky: :green_heart:
  • Skipped: :blue_heart:
  • Pass: :heart:

Hand printer

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

Tests

Build Status, (*6)

To run the test suite, you need composer., (*7)

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

License

The Emoji result printer for PHPUnit is licensed under the MIT license., (*8)

The Versions

11/08 2014

dev-master

9999999-dev http://github.com/whatthejeff/emoji-phpunit-resultprinter

Emojis for your PHPUnit test results!

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

phpunit tests emoji

04/05 2014

v1.0.0

1.0.0.0 http://github.com/whatthejeff/emoji-phpunit-resultprinter

Emojis for your PHPUnit test results!

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

phpunit tests emoji