AOEpeople/PHPUnit_Printer

Name: PHPUnit_Printer

Owner: AOE

Description: null

Created: 2015-11-21 03:27:09.0

Updated: 2017-12-17 05:54:52.0

Pushed: 2016-06-30 21:56:04.0

Homepage: null

Size: 2

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

PHPUnit_Printer

Author: Fabrizio Branca

An additional printer for PHPUnit that displays the test progress like this:

ITE: Tests
SUITE: BuildBucketTest
> TEST: BuildBucketTest::writeAccessToBucket
  SUCCESS. (Duration: 0.89 sec)
> TEST: BuildBucketTest::listFiles
  SUCCESS. (Duration: 0.44 sec)
> TEST: BuildBucketTest::readAccessToBucket
  SUCCESS. (Duration: 0.84 sec)
> TEST: BuildBucketTest::deleteFile
  SUCCESS. (Duration: 0.21 sec)
Duration: 2.39 sec
SUITE: SystemstorageBucketTest
> TEST: SystemstorageBucketTest::writeAccessToBucket
  SUCCESS. (Duration: 0.85 sec)
> TEST: SystemstorageBucketTest::listFiles
  SUCCESS. (Duration: 0.31 sec)
> TEST: SystemstorageBucketTest::readAccessToBucket
  SUCCESS. (Duration: 0.78 sec)
> TEST: SystemstorageBucketTest::deleteFile
  SUCCESS. (Duration: 0.21 sec)
Duration: 2.15 sec
SUITE: WebserverTest
> TEST: Warning
  FAILURE: No tests found in class "WebserverTest". (Duration: 0 sec)
Duration: 0 sec
ration: 4.55 sec
Configuration
unit bootstrap="bootstrap.php"
     colors="true"
     printerClass="Aoepeople_Phpunit_Printer_VerboseResultPrinter">
...]
punit>

NOTE: you might need to add printerFile in case you're not loading Composer's autoload file in your bootstrap.php


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.