加藤 和良
and 1 contributors

NAME

Test::Apache2 - Simple test harness of mod_perl handler

SYNOPSIS

  use Test::More tests => 1;
  use Test::Apache2;
  
  my $server = Test::Apache2::Server->new;
  $server->location('/myapp', {
      PerlResponseHandler => 'MyAppHandler',
  });
  
  my $resp = $server->get('/myapp');
  is($resp->content, 'hello world');

DESCRIPTION

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.

AUTHOR

KATO Kazuyoshi <kzys@8-p.info>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Apache::Test, Test::Environment, Apache2::ASP