Skip to content

Tests with Casperjs

Hadrien Lanneau edited this page Dec 9, 2013 · 9 revisions

Install casperjs :

npm install -g casperjs

Then launch it by typing :

casperjs tools/casper/index.js --ignore-ssl-errors=yes

Will start all the tests. Yoshioka server must be running.

You can launch a unique test by typing :

casperjs tools/casper/index.js --test=path/to/the/test/module/to/test --ignore-ssl-errors=yes

The path is the module name you wrote in your javascript file next to @module

Clone this wiki locally