2017 © Pedro Peláez
 

library phpunit-growlprinter

PHPUnit Growl(GNTP) Printer

image

iakio/phpunit-growlprinter

PHPUnit Growl(GNTP) Printer

  • Saturday, July 23, 2016
  • by iakio
  • Repository
  • 1 Watchers
  • 0 Stars
  • 65 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

phpunit-growlprinter

Build Status, (*1)

growl, (*2)

Requirements

  • PHP >= 5.3
  • phpunit >= 4.8.*,<5.5

Usage

PHAR

  1. Download phpunit-growlprinter.phar from here., (*3)

  2. Create new bootstrap file., (*4)

    <?php
    // bootstrap_growl.php
    require_once "phpunit-growlprinter.phar";
    // Put your own bootstrap file here
    // require_once "bootstrap.php";
    
  3. Run, (*5)

    $ phpunit --bootstrap=bootstrap_growl.php --printer=iakio\\phpunit\\GrowlPrinter
    

Composer

  1. Install, (*6)

    $ php composer.phar require --dev iakio/phpunit-growlprinter:*
    
  2. Specify printerClass in your phpunit.xml,, (*7)

    <phpunit printerClass="iakio\phpunit\GrowlPrinter"
           printerFile="vendor/iakio/phpunit-growlprinter/src/iakio/phpunit/GrowlPrinter.php">
    ...
    </phpunit>
    

    or commandline., (*8)

    $ phpunit --printer=iakio\\phpunit\\GrowlPrinter
    

Tips

If you want to use remote PHPUnit with local Growl, Use portforwarding:, (*9)

$ ssh -R:23053:localhost:23053 myremotehost

or, override GrowlPrinter class., (*10)

<?php
// src/MyGrowlPrinter.php
namespace app;
use iakio\GntpNotify\GNTP;
use iakio\GntpNotify\IO;
use iakio\phpunit\GrowlPrinter;

class MyGrowlPrinter extends GrowlPrinter
{
    protected function createGrowl()
    {
        return new GNTP(new IO("10.0.2.2", 23053));
    }
}
<phpunit printerClass="app\MyGrowlPrinter"
         printerFile="src/MyGrowlPrinter.php">
...
</phpunit>

The Versions

23/07 2016

dev-master

9999999-dev

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

23/07 2016

dev-fix-matrix

dev-fix-matrix

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

05/12 2015

0.6.0

0.6.0.0

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

12/10 2015

0.5.0

0.5.0.0

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

03/10 2015

0.4.0

0.4.0.0

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

13/09 2015

0.3.0

0.3.0.0

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

13/09 2015

0.1.x-dev

0.1.9999999.9999999-dev

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

04/07 2015

0.2.0

0.2.0.0

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

04/07 2015

0.1.2

0.1.2.0

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

02/08 2014

0.1.1

0.1.1.0

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

The Development Requires

by ISHIDA Akio

phpunit notification growl gntp

27/07 2014

0.1.0

0.1.0.0

PHPUnit Growl(GNTP) Printer

  Sources   Download

MIT

The Requires

 

by ISHIDA Akio