| Test-Environment documentation | Contained in the Test-Environment distribution. |
Test::Environment::Plugin::Apache2 - mock Apache2 modules to test mod_perl2 handlers
use Test::Environment qw{
Apache2
};
This module will just sets:
unshift @INC, File::Spec->catdir(File::Basename::dirname(__FILE__), 'Apache');
So that the mock Apache2 modules are found and loaded from there. No need to have following modules in order to test mod_perl2 handlers.
Test::Environment::Plugin::Apache2::Apache2::Filter (Apache2::Filter), Test::Environment::Plugin::Apache2::Apache2::Log (Apache2::Log), Test::Environment::Plugin::Apache2::Apache2::RequestRec (Apache2::RequestRec)
Jozef Kutej
| Test-Environment documentation | Contained in the Test-Environment distribution. |
package Test::Environment::Plugin::Apache2;
use warnings; use strict; our $VERSION = '0.06'; use File::Basename qw(); use File::Spec qw(); unshift @INC, File::Spec->catdir(File::Basename::dirname(__FILE__), 'Apache2'); 1; __END__