All Projects → whatthejeff → Nyancat Phpunit Resultprinter

whatthejeff / Nyancat Phpunit Resultprinter

Licence: mit
Nyan Cat result printer for PHPUnit

Projects that are alternatives of or similar to Nyancat Phpunit Resultprinter

Brainmonkey
Mocking utility for PHP functions and WordPress plugin API
Stars: ✭ 191 (-33.68%)
Mutual labels:  phpunit, tests
Unit Testing Tips
Unit testing tips by examples in PHP
Stars: ✭ 318 (+10.42%)
Mutual labels:  phpunit, tests
phpunit-injector
Injects services from a PSR-11 dependency injection container to PHPUnit test cases
Stars: ✭ 62 (-78.47%)
Mutual labels:  phpunit, tests
Phpunit Easymock
Build PHPUnit mocks easily
Stars: ✭ 37 (-87.15%)
Mutual labels:  phpunit, tests
hubtel-payment
🎉A comprehensive PHP Client Package for consuming the Hubtel Payment API
Stars: ✭ 13 (-95.49%)
Mutual labels:  phpunit, tests
fp-tests
Haskell homework tests
Stars: ✭ 30 (-89.58%)
Mutual labels:  tests
Twenty48
A modified clone of the puzzle game 2048, built in react/typescript!
Stars: ✭ 31 (-89.24%)
Mutual labels:  tests
pt1230
Brother P-Touch 1230PC Linux interface
Stars: ✭ 25 (-91.32%)
Mutual labels:  printer
assert-true
A lot of ways to you set your assert as true
Stars: ✭ 19 (-93.4%)
Mutual labels:  phpunit
Guzzler
Supercharge your app or SDK with a testing library specifically for Guzzle
Stars: ✭ 272 (-5.56%)
Mutual labels:  phpunit
Octoprint Enclosure
OctoPrint Enclosure Plugin
Stars: ✭ 267 (-7.29%)
Mutual labels:  printer
forge
🔥 Incubator of pet projects, tools, pet projects. Edge cases and failovers included.
Stars: ✭ 33 (-88.54%)
Mutual labels:  tests
escpos-xml
JavaScript library that implements the thermal printer ESC / POS protocol and provides an XML interface for preparing templates for printing.
Stars: ✭ 37 (-87.15%)
Mutual labels:  printer
Crystalball
Regression Test Selection library for your RSpec test suite
Stars: ✭ 259 (-10.07%)
Mutual labels:  tests
php-skeleton
A skeleton to start new high-quality PHP projects without worrying about bootstrapping everything from scratch.
Stars: ✭ 23 (-92.01%)
Mutual labels:  phpunit
Brlaser
Brother laser printer driver
Stars: ✭ 270 (-6.25%)
Mutual labels:  printer
BDTest
BDTest - A Testing Framework for .NET
Stars: ✭ 58 (-79.86%)
Mutual labels:  tests
hitchstory
Type-safe, StrictYAML based BDD framework for python.
Stars: ✭ 24 (-91.67%)
Mutual labels:  tests
Thermal Printer In Android
Thermal printer in Android
Stars: ✭ 265 (-7.99%)
Mutual labels:  printer
rouzeta
reference code for Rouzeta(FST-based morpological analyzer)
Stars: ✭ 14 (-95.14%)
Mutual labels:  tests

Video of the Nyan Cat result printer for PHPUnit

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].