Apache2-API
view release on metacpan or search on metacpan
- `-top_dir`
top-level directory (default is `$PWD`)
- `-user`
User to run test server as (default is `$USER`)
See also [Apache::TestMM](https://metacpan.org/pod/Apache%3A%3ATestMM) for available parameters or you can type on the command line:
perl -MApache::TestConfig -le 'Apache::TestConfig::usage()'
## 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 `t/TEST -help` to get the list of options. See below as well:
- `-breakpoint=bp`
set breakpoints (multiply bp can be set)
- `-bugreport`
print the hint how to report problems
- `-clean`
remove all generated test files
- `-configure`
force regeneration of httpd.conf (tests will not be run)
- `-debug[=name]`
start server under debugger name (gdb, ddd, etc.)
- `-get`
GET url
- `-head`
HEAD url
- `-header`
add headers to (get|post|head) request
- `-help`
display this message
- `-http11`
run all tests with `HTTP/1.1` (keep alive) requests
- `-no-httpd`
run the tests without configuring or starting httpd
- `-one-process`
run the server in single process mode
- `-order=mode`
run the tests in one of the modes: (repeat|random|SEED)
- `-ping[=block]`
test if server is running or port in use
- `-post`
POST url
- `-postamble`
config to add at the end of `httpd.conf`
- `-preamble`
config to add at the beginning of `httpd.conf`
- `-proxy`
proxy requests (default proxy is localhost)
- `-run-tests`
run the tests
- `-ssl`
run tests through ssl
- `-start-httpd`
start the test server
- `-stop-httpd`
stop the test server
- `-trace=T`
change tracing default to: warning, notice, info, debug, ...
- `-verbose[=1]`
verbose output
See for more information [https://perl.apache.org/docs/general/testing/testing.html](https://perl.apache.org/docs/general/testing/testing.html)
## API CORE MODULES
( run in 1.231 second using v1.01-cache-2.11-cpan-df04353d9ac )