The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.04

  • if the server stops reading from the client before it has sent all its data, Apache::TestClient (which is used when LWP is not available) would just die without any error message (5.8.1) because no SIGPIPE handler was setup and the Broken Pipe error was missed. Replacing 'print $s' with $s->send() solves this problem: Apache::TestClient will just move on without bailing out. [Stas]
  • if env var APACHE_TEST_PRETEND_NO_LWP is true, Apache::Test will pretend that LWP is not available. useful for testing whether the test suite will survive on a system which doesn't have libwww-perl installed. [Stas]
  • Apache::TestSmoke provides a new mode: -bug_mode, which runs an equivalent of plain 't/TEST' but generates a lot of useful debug information, in addition to matching the core files to the tests that caused them. [Stas]
  • Apache::TestSmoke now scans for core files, just like Apache::TestRun does [Stas]
  • Allow the creation of name based virtual hosts by supplying <VirtualHost servername:module> containers in .conf.in$ files.
  • André Malo
    • fix Apache::TestSSLCA to generate a separate index.txt file for each module, as on certain platforms openssl fails to re-use the same file. [Stas]
    • remove the unused example section from t/conf/extra.conf.in, it made an assumption that mod_auth is available [Stas]
    • in the autogenerated t/conf/httpd.conf include mod_alias and mod_mime loading, in case they were built as a shared object and wasn't loaded from the system-wide httpd.conf from which Apache::Test inherits the config. [Stas]
    • added have_apache_mpm() function [Geoffrey Young]
    • when moving test-specific config directives from __DATA__ to httpd.conf don't use hash, or the order of arguments is not preserved. Thanks to perl-5.8.1 for randomizing the hash seed, which has exposed the bug by breaking the test suite. [Stas]
    • when the tests are run in the 'root' mode, check whether the DocumentRoot and its parent dirs are rwx before the tests are run and suggest possible workarounds when the tests are doomed to fail, because of the permission issues. [Stas]
    • UPLOAD is now auto-exported, like the rest [David Wheeler <david@kineticode.com>]
    • Change the way the redirect_ok parameter works so that it affects only _that call_ to the function. Afterward it should revert to the old value of $RedirectOK. [David Wheeler <david@kineticode.com>]
    • Change user_agent() so that the LWP::UserAgent "requests_redirectable" parameter actually does something useful vis-à-vis $RedirectOK. [David Wheeler <david@kineticode.com>]
    • Apache::TestRequest API documenation [David Wheeler <david@kineticode.com>]
    • Enable TransferLog in the autogenerated httpd.conf only if mod_log_config is available [Stas]

Documentation

Modules

Test.pm wrapper with helpers for testing Apache
Test Configuration setup module
Provide MakeMaker Wrapper Methods
Send requests to your Apache test server
Run the test suite
Special Tests Sequence Failure Finder
Utility functions for writing tests
A bundle to install all Apache-Test related modules

Provides

in lib/Apache/Test5005compat.pm
in lib/Apache/TestBuild.pm
in lib/Apache/TestClient.pm
in lib/Apache/TestClient.pm
in lib/Apache/TestCommon.pm
in lib/Apache/TestCommonPost.pm
in lib/Apache/TestConfigC.pm
in lib/Apache/TestConfigParse.pm
in lib/Apache/TestConfigPerl.pm
in lib/Apache/TestConfigC.pm
in lib/Apache/TestHandler.pm
in lib/Apache/TestHarness.pm
in lib/Apache/TestReport.pm
in lib/Apache/TestReportPerl.pm
in lib/Apache/TestRunPerl.pm
in lib/Apache/TestSSLCA.pm
in lib/Apache/TestServer.pm
in lib/Apache/TestSmokePerl.pm
in lib/Apache/TestSort.pm
in lib/Apache/Test.pm
in lib/Apache/TestTrace.pm
in lib/Apache/TestRequest.pm
in lib/Apache/Test5005compat.pm