HTTP::WebTest::Plugin - Base class for HTTP::WebTest plugins.
Not applicable.
HTTP::WebTest plugin classes can subclass this class. It provides some useful helper methods.
Constructor.
A new plugin object which will be used by HTTP::WebTest object $webtest.
$webtest
A HTTP::WebTest object which uses this plugin.
If latest test parameter $param is not defined returns $optional_default or false if it is not defined.
$param
$optional_default
If latest test parameter $param is defined returns it's value.
If latest test parameter $param is defined returns true if latest test parameter $param is yes. False otherwise.
yes
Merges test parameter value with global test parameter value.
A merged test parameter value.
Factory method which creates test result object.
A HTTP::WebTest::TestResult object.
Checks test parameters.
An array of HTTP::WebTest::TestResult objects.
Method which should be redefined in subclasses. Returns information about test parameters which are supported by plugin. Used to validate tests.
An hash reference. Keys are names of test parameters which are supported by plugin. Values are their type.
Always true.
True if $value is an array reference. False otherwise.
$value
True if $value is a string. False otherwise.
True if $value is a string reference. False otherwise.
True if $value is an URI. False otherwise.
True if $value is a hash reference or an array reference which points to array containing even number of elements. False otherwise.
True if $value is either yes or no. False otherwise.
no
Copyright (c) 2001,2002 Ilya Martynov. All rights reserved.
This module is free software. It may be used, redistributed and/or modified under the terms of the Perl Artistic License.
HTTP::WebTest
HTTP::WebTest::Plugins
HTTP::WebTest::ReportPlugin
To install HTTP::WebTest, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::WebTest
CPAN shell
perl -MCPAN -e shell install HTTP::WebTest
For more information on module installation, please visit the detailed CPAN module installation guide.