jakoch / phpunit-headless
Headless is a PhantomJS and SlimerJS integration for PHPUnit.
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 1
Open Issues: 1
Language:JavaScript
Requires
- php: >=5.4
- jakoch/phantomjs-installer: 1.9.8
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2024-12-12 21:34:56 UTC
README
PHPUnit Headless is a PHPUnit extension which provides wrappers to PhantomJS and SlimerJS.
Information
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.
SlimerJS is a (not yet fully) headless browser helper running on XulRunner as used by Gecko/Firefox.
- Google support via PhantomJS + CasperJS + jQuery
- Firefox support via SlimerJS + CasperJS + jQuery
- QUnit for Javascript unit-tests
- YSlow for page performance analysis
Requirements
Requirements are fetched via Composer.
- 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.
{
"require": {
"jakoch/phpunit-headless": "dev-master"
}
}
License
- BSD 3-Clause License - http://www.opensource.org/licenses/BSD-3-Clause