[Http-webtest-general] Re: First shot at XML Input parser
Brought to you by:
m_ilya,
richardanderson
From: Ilya M. <il...@ip...> - 2003-03-06 17:49:38
|
>>>>> "JlP" == Johannes la Poutre <joe...@us...> writes: JlP> Ilya, JlP> In addition to may XMLReport plugin I wrought a rough version of a JlP> HTTP::WebTest::Parser module, in order to be able to specify my test JlP> definitions in XML format. JlP> My concern right now is where in the namespace this would fit best; I JlP> chose for HTTP::WebTest::XMLParser for now, but this is open for JlP> discussion. Also I haven't imported this module into the SF CVS for JlP> this same reason. This name is ok by me. JlP> Here's the documentation and tarball of the first alpha: JlP> http://www.xs4all.nl/~jlpoutre/Perl/XMLParser.html JlP> http://www.xs4all.nl/~jlpoutre/Perl/HTTP-WebTest-XMLParser-0.01.tar.gz JlP> Could you take a look at these please? Sure. I'll take closer look a bit later but for now only one suggestion for POD documentation. Instead of use HTTP::WebTest::XMLParser; my ($tests, $opts) = HTTP::WebTest::XMLParser->parse($xmldata); use HTTP::WebTest; my $wt = new HTTP::WebTest; $wt->run_tests($tests, $opts); You can write use HTTP::WebTest; my $wt = new HTTP::WebTest; $wt->parser_package('HTTP::WebTest::XMLParser'); $wt->run_wtscript($xmldata); It is supported since 2.01. -- Ilya Martynov, il...@ip... CTO IPonWEB (UK) Ltd Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net Personal website - http://martynov.org |