Skip to content

padraic/phpunit-accelerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPUnit Accelerator

Build Status

Inspired by Kris Wallsmith faster PHPUnit article, we've created a PHPUnit test listener that speeds up PHPUnit tests about 20% by freeing memory.

Setup and Configuration

Add the following to your composer.json file

{
    "require-dev": {
        "mybuilder/phpunit-accelerator": "~1.0"
    }
}

Update the vendor libraries

curl -s http://getcomposer.org/installer | php
php composer.phar install

Usage

Just add to your phpunit.xml configuration

<phpunit>
    <listeners>
        <listener class="\MyBuilder\PhpunitAccelerator\TestListener"/>
    </listeners>
</phpunit>

About

Listeners to speed up PHPUnit tests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%