PHPUnit Accelerator: Speeds up PHPUnit by freeing memory after test runs

v1.0.2 2015-01-15 21:18 UTC

This package is not auto-updated.

Last update: 2020-06-22 11:40:49 UTC


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 | php
php composer.phar install


Just add to your phpunit.xml configuration

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