The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::AdoPlugin - common code needed for testing Ado plugins

SYNOPSIS

  #in your plugin basic.t or restapi etc...

DESCRIPTION

This modules holds boilerplate code which sets up the environment for your Ado plugin tests

METHODS

setup

Sets up the $ENV{MOJO_MODE}, $ENV{MOJO_HOME}, modifies @INC and requires the needed modules.

GLOBAL VARIABLES

$OUTPUT_ENCODING

Encode STDOUT to avoid "Wide character in print" warning. Defaults to cp866 for windows and UTF-8 otherwise.

$T

The current Test::Mojo instance.