The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.05

  • core scanning changes [Stas]
  • speedup by not chdir'ing into subdirs
  • an optional scanning of only t/ dir (used by TestSmoke)
  • don't scan on win32, since it has no core files
  • in the autogenerated t/conf/modperl_inc.pl don't add the project/lib directory, unless a special env var APACHE_TEST_LIVE_DEV is true. This is because some projects change things in project/blib and pushing project/lib on top of @INC, breaks the test suite for them [Stas]
  • TestRun was using httpd.pid file to ensure that the server is killed before starting it, if the file existed. This was a problem on win32 platforms, where a process scheduler tries to re-use the pids that were just freed, which may have killed a valid process which is not even Apache.exe. So we try not to rely on that file, and if the server wasn't properly stopped and still running, users will learn about that, since the port will be busy, and Apache will fail to start. Users have to kill it manually. TestSmoke is no longer using an explicit kill `cat httpd.pid` to stop Apache, but delegates the stopping procedure to TestRun [Steve Hay, Randy Kobes]
  • use IPC::Run3 in Apache::TestSmoke to run t/TEST commands, so as t/SMOKE can be used on Win32 [Stas, Steve Hay, Randy Kobes]
  • place mod_perl-specific directives in <IfModule> containers within httpd.conf, allowing the default server to start if mod_perl isn't present. [Geoffrey Young]
  • fix t/request.t to get /index.html, instead of / since not everybody uses mod_dir [Steve Piner <stevep@marketview.co.nz>]
  • when testing whether Apache started as root and running under 'nobody' or alike, will be able to -r/-w/-x in t/ use 'su' instead of 'sudo', the latter is not available on all unix platforms. [Vivek Khera <khera@kcilink.com>]
  • in the Apache/test.pm nuke code s/PERLRUN/FULLPERL/ as older MakeMaker doesn't have the PERLRUN target [Stas]
  • Apache 1.3 servers now run in standard prefork mode under normal operation. single server mode (httpd -X) was replaced with MaxClients set to 1 by default. [Geoffrey Young]

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