e . Defaults to C</test>.
=item lib_dir
By default the plugin uses a version of Jasmine and its JSON reporter bundled
in its share folder. If you prefer to use your own version of
Jasmine, you can
PhantomJS, we could use:
use strict;
use warnings;
use Test::More;
use JSON qw/ from_json /;
use Test::TCP;
use WWW::Mechanize::PhantomJS;
use Dancer::Plugin::Test::J
$mech->get("http://localhost:$port?test=verify_title");
jasmine_results from_json
$mech->eval_in_page('jasmine.getJSReportAsString()';
},
server =
on 0.2.0
=head1 SYNOPSIS
use strict;
use warnings;
use Test::More;
use JSON qw/ from_json /;
use Test::TCP;
use WWW::Mechanize::PhantomJS;
use Dancer::Plugin::Test::Ja
;
$mech->get("http://localhost:$port?test=hello");
jasmine_results from_json
$mech->eval_in_page('jasmine.getJSReportAsString()';
},
server =