1 package Catalyst::Script::Test;
4 use namespace::autoclean;
6 with 'Catalyst::ScriptRole';
11 Catalyst::Test->import($self->application_name);
13 foreach my $arg (@{ $self->ARGV }) {
14 print request($arg)->content . "\n";
19 __PACKAGE__->meta->make_immutable;
23 Catalyst::Script::Test - Test Catalyst application on the command line
27 myapp_test.pl [options] /path
30 -h --help display this help and exits
34 Script to perform a test hit against your application and display the output.
38 Catalyst Contributors, see Catalyst.pm
42 This library is free software. You can redistribute it and/or modify it under
43 the same terms as Perl itself.