[Http-webtest-general] [ANNOUNCE] HTTP-WebTest-Plugin-DateTest 0.9
Brought to you by:
m_ilya,
richardanderson
From: Johannes la P. <joe...@us...> - 2002-09-12 13:47:07
|
Hi, A new plugin for HTTP::WebTest has been imported to CVS as a separate module, HTTP-WebTest-Plugin-DateTest. It's purpose is to test web pages for "freshness" by comparing embedded date string(s) to the current time. The test is passed if the difference is less than the time specified as a test parameter. How to get it ========= For now, just retrieve the module from CVS as usual: cvs -d:pserver:ano...@cv...:/cvsroot/http-webtest login cvs -z3 -d:pserver:ano...@cv...:/cvsroot/http-webtest co HTTP-WebTest-Plugin-DateTest In the near future I'm planning to make the module available from CPAN. From the README: =============== ABSRACT DateTest is a plugin module for the HTTP::WebTest suite. This plugin provides tests for the "age" of embedded date strings in the response body of a HTTP request (typically a webpage). Limited support is available for international languages, as long as a Date::Format module for this language exists (part of DateTime) and the notational convention doesn't differ too much from English conventions. More detail is available from the module's documentation: perldoc HTTP::WebTest::Plugin::DateTest DEPENDENCIES This module requires these other modules and libraries: HTTP::WebTest (version 1.99 or newer) DateTime (version 1.13 or newer recommended) BUGS Many potentially. Note that the ability to parse a date string correctly is entirely dependent on Date::Parse for English language strings. Internationalization support is far more limited. ========= Installation should be a simple standard process if HTTP::WebTest has been installed before. Please give it a try and let me know of any bugs you find or enhancements you may need! Cheers, Joe. |