Skip Menu |

This queue is for tickets about the Catalyst-Runtime CPAN distribution.

Report information
The Basics
Id: 53653
Status: resolved
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: rod.taylor [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Allow Script/Test to accept multiple URLs on command line
Allow Test.pm to execute multiple URLs in a single load/compilation of the application. For large applications this can be very useful. *** Test.pm.orig 2010-01-13 11:35:48.000000000 -0500 --- Test.pm 2010-01-13 11:40:22.000000000 -0500 *************** *** 10,16 **** Catalyst::Test->import($self->application_name); ! print request($self->ARGV->[0])->content . "\n"; } --- 10,18 ---- Catalyst::Test->import($self->application_name); ! for my $arg (@{$self->ARGV}) { ! print request($arg)->content . "\n"; ! } } *************** *** 22,28 **** =head1 SYNOPSIS ! myapp_test.pl [options] /path Options: -h --help display this help and exits --- 24,30 ---- =head1 SYNOPSIS ! myapp_test.pl [options] /path ... Options: -h --help display this help and exits
Fixed/added in r13159. Will be in the next release. Many thanks for the bug report!