bad54000 / casperjs2
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Language:JavaScript
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-11-13 09:48:15 UTC
README
This PHPCI plugin allow you to launch casperjs tests
Install
-
First, install casperJS: http://casperjs.readthedocs.org/en/latest/installation.html
-
Add demorose/phpci-casperjs in your composer.json:
[...] "require": { [...] "demorose/phpci-casperjs": "dev-master", [...] }, [...]
- Run composer install demorose/phpci-casperjs
- Copy javascript to PHPCI :
cp /path/to/phpci/vendor/demorose/phpci-casperjs/Demorose/PHPCI/Plugin/js/casperJs.js /path/to/phpci/public/assets/js/build-plugins/casperJs.js
Configuration Options
- x_unit_file_path - Path to xunit output. /tmp/casperOutput.xml by default.
- tests_path - Path to tests.