HTTP::WebTest::Parser - Parse wtscript files.


HTTP-WebTest documentation  | view source Contained in the HTTP-WebTest distribution.

Index


NAME

Top

HTTP::WebTest::Parser - Parse wtscript files.

SYNOPSIS

Top

    use HTTP::WebTest::Parser;

    my $tests = HTTP::WebTest::Parser->parse($data);

DESCRIPTION

Top

Parses a wtscript file and converts it to a set of test objects.

CLASS METHODS

Top

parse ($data)

Parses wtscript text data passed in a scalar variable $data.

Returns

A list of two elements - a reference to an array that contains test objects and a reference to a hash that contains test parameters.

write_test ($params_aref)

Given a set of test parameters generates text representation of the test.

Returns

The test text.

COPYRIGHT

Top

SEE ALSO

Top

HTTP::WebTest

HTTP::WebTest::API (HTTP::WebTest::API)


HTTP-WebTest documentation  | view source Contained in the HTTP-WebTest distribution.