App-Duppy
view release on metacpan or search on metacpan
lib/App/Duppy.pm view on Meta::CPAN
# will launch casperjs with the options mentionned in the file. See in
# the fixture directory for an example
duppy --test mytestplan.json --test myothertestplan.json
=head1 DESCRIPTION
The original idea came from a discussion I had with Nicolas Perriault. I was searching a way to organise my casperjs tests,
and he came out with this suggestion.
So I decided to write a little wrapper around casperjs that would be able to launch tests using the format he suggested.
This script is dead simple: given a json file, it builds out a valid list of parameters that is passed to casperjs.
It then displays the output returned by casperjs.
=head2 JSON File syntax
The JSON file you use to wrap up your tests consists in valid casperjs command line options, excepted for the path argument,
which will resolve to the path where your test files are.
{
( run in 0.300 second using v1.01-cache-2.11-cpan-de7293f3b23 )