Apache2-API
view release on metacpan or search on metacpan
lib/Apache2/API.pm view on Meta::CPAN
=item C<-servername>
ServerName (default is C<localhost>)
=item C<-serverroot>
ServerRoot (default is C<$t_dir>)
=item C<-src_dir>
source directory to look for C<mod_foos.so>
=item C<-ssl_module_name>
ssl module name
=item C<-sslca>
location of SSL CA (default is C<$t_conf/ssl/ca>)
=item C<-sslcaorg>
SSL CA organization to use for tests (default is asf)
=item C<-sslproto>
SSL/TLS protocol version(s) to test
=item C<-startup_timeout>
seconds to wait for the server to start (default is C<60>)
=item C<-t_conf>
the conf/ test directory (default is C<$t_dir/conf>)
=item C<-t_conf_file>
test httpd.conf file (default is C<$t_conf/httpd.conf>)
=item C<-t_dir>
the t/ test directory (default is C<$top_dir/t>)
=item C<-t_logs>
the logs/ test directory (default is C<$t_dir/logs>)
=item C<-t_pid_file>
location of the pid file (default is C<$t_logs/httpd.pid>)
=item C<-t_state>
the state/ test directory (default is C<$t_dir/state>)
=item C<-target>
name of server binary (default is C<apxs -q TARGET>)
=item C<-thread_module_name>
thread module name
=item C<-threadsperchild>
number of threads per child when using threaded MPMs (default is C<10>)
=item C<-top_dir>
top-level directory (default is C<$PWD>)
=item C<-user>
User to run test server as (default is C<$USER>)
=back
See also L<Apache::TestMM> for available parameters or you can type on the command line:
perl -MApache::TestConfig -le 'Apache::TestConfig::usage()'
=head2 Tesging options
For example, specifying a port to use:
t/TEST -start-httpd -port=34343
t/TEST -run-tests
t/TEST -stop-httpd
You can run C<< t/TEST -help >> to get the list of options. See below as well:
=over 4
=item C<-breakpoint=bp>
set breakpoints (multiply bp can be set)
=item C<-bugreport>
print the hint how to report problems
=item C<-clean>
remove all generated test files
=item C<-configure>
force regeneration of httpd.conf (tests will not be run)
=item C<-debug[=name]>
start server under debugger name (gdb, ddd, etc.)
=item C<-get>
GET url
=item C<-head>
HEAD url
=item C<-header>
add headers to (get|post|head) request
=item C<-help>
( run in 0.519 second using v1.01-cache-2.11-cpan-56fb94df46f )