PHPUnit Headless
Branch |
Downloads |
Unit Tests |
Coverage |
 |
 |
 |
 |
PHPUnit Headless is a PHPUnit extension which provides wrappers to PhantomJS and SlimerJS., (*1)
PhantomJS is a headless browser running on WebKit as used by Google/Safari.
It is not a test framework. Here tests are launched via PHPUnit as the test runner.
It runs purely headless (no X11) on Linux and is ideal for continuous integration systems., (*2)
SlimerJS is a (not yet fully) headless browser helper running on XulRunner as used by Gecko/Firefox., (*3)
Requirements
Requirements are fetched via Composer., (*4)
- PHPUnit 4.*
- PhantomJS 1.9.*
Installation via Composer
Please use Composer to download and install PHPUnit Headless as well as all of its dependencies.
To add PHPUnit Headless as a local, per-project dependency to your project,
you simply add the following line to your project's composer.json
file., (*5)
{
"require": {
"jakoch/phpunit-headless": "dev-master"
}
}
License
- BSD 3-Clause License - http://www.opensource.org/licenses/BSD-3-Clause