Test::Environment::Plugin::Apache2 - mock Apache2 modules to test mod_perl2 handlers


Test-Environment documentation Contained in the Test-Environment distribution.

Index


Code Index:

NAME

Top

Test::Environment::Plugin::Apache2 - mock Apache2 modules to test mod_perl2 handlers

SYNOPSIS

Top

	use Test::Environment qw{
		Apache2
	};




DESCRIPTION

Top

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)

AUTHOR

Top

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__