Jens Rehsack > WWW-Mechanize-Script-0.100 > Config::Any::WTScript

Download:
WWW-Mechanize-Script-0.100.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.100   Source   Latest Release: WWW-Mechanize-Script-0.101

NAME ^

Config::Any::WTScript - Parse wtscript files.

VERSION ^

version 0.100

SYNOPSIS ^

    use Config::Any::WTScript;

    my $tests = Config::Any::WTScript->parse($data);

DESCRIPTION ^

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

METHODS ^

extensions(;@extensions)

When list of extensions to accept given, replace current list with given list.

Return an array of valid extensions (default: wts, wtscript).

load( $file )

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.

ACKNOWLEDGEMENTS ^

The original parsing code is from HTTP::WebTest::Parser, written by Ilya Martynov.

SEE ALSO ^

HTTP::WebTest

HTTP::WebTest::Parser

BUGS ^

Please report any bugs or feature requests on the bugtracker website http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Mechanize-Script or by email to bug-www-mechanize-script@rt.cpan.org.

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR ^

Jens Rehsack <rehsack@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Jens Rehsack.

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

syntax highlighting: