Test::Apache2 - Simple test harness of mod_perl handler
use Test::More tests => 1;
my $server = Test::Apache2::Server->new;
PerlResponseHandler => 'MyAppHandler',
my $resp = $server->get('/myapp');
is($resp->content, 'hello world');
This module provides a simple test harness of mod_perl handler.
The difference between the module and Apache::Test is that the former don't spawn an real Apache process.
KATO Kazuyoshi <email@example.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Apache::Test, Test::Environment, Apache2::ASP
To install Test::Apache2, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.