CGI::Test 0.1 Copyright (c) 2001, Raphael Manfredi ------------------------------------------------------------------------ This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, a copy of which can be found with perl. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Artistic License for more details. ------------------------------------------------------------------------ *** This is alpha software -- use at your own risks *** Name DSLI Description Info ----------- ---- -------------------------------------------- ----- CGI::Test adpO A CGI regression test framework RAM The CGI::Test framework is my answer to the CGI testing problem. It is very difficult to perform testing of complex CGI scripts, which handle multiple states and screens, and where a session involves multiple interactions with the form. The offline testing mode of the CGI module reaches its limit there. Hence CGI::Test, which acts as a "server" for CGI scripts and can run them offline, outside of any real web server. The framework offers the infrastructure to analyze the HTML generated by CGI scripts, extract the various widget information, and gives programmatic control on them. The framework can be used to easily "test" that the various expected widget controls are there, without necessarily interacting with the widgets. You also have access to the raw HTML tree if you wish to further inspect the generation. Two important limitations are expected to be removed "soon": the inability to test a script in-situ, through direct HTTP requests, meaning it is ran by the HTTP server itself, and the inability to handle cookies. -- Raphael Manfredi