1 package Catalyst::Script::Test;
5 use lib "$FindBin::Bin/../lib";
7 use MooseX::Types::Moose qw/Str Bool/;
8 use namespace::autoclean;
13 traits => [qw(NoGetopt)],
19 traits => [qw(Getopt)],
23 documentation => qq{ display this help and exits },
30 Class::MOP::load_class("Catalyst::Test");
31 Catalyst::Test->import($self->app);
33 pod2usage(1) if ( $self->help || !$ARGV[1] );
34 print request($ARGV[1])->content . "\n";
39 __PACKAGE__->meta->make_immutable;