Ilya Martynov > HTTP-WebTest-2.04 > HTTP::WebTest::Parser

Download:
HTTP-WebTest-2.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Source  

NAME ^

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

SYNOPSIS ^

    use HTTP::WebTest::Parser;

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

DESCRIPTION ^

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

CLASS METHODS ^

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 ^

Copyright (c) 2001-2003 Ilya Martynov. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

HTTP::WebTest

HTTP::WebTest::API

syntax highlighting: