padraic / phpunit-accelerator
PHPUnit Accelerator: Speeds up PHPUnit by freeing memory after test runs
Installs: 155 786
Dependents: 1
Suggesters: 0
Security: 0
Stars: 12
Watchers: 1
Forks: 12
Open Issues: 0
pkg:composer/padraic/phpunit-accelerator
Requires
- php: >=5.3.3
- phpunit/phpunit: >=3.7
Replaces
This package is not auto-updated.
Last update: 2025-10-21 14:07:07 UTC
README
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>