CGI::Test ========= Copyright (c) 2001, Raphael Manfredi Copyright (c) 2011-2016, Alex Tokarev Current maintainer: Alex Tokarev ------------------------------------------------------------------------ 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 5.6.0. 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. ------------------------------------------------------------------------ The CGI::Test framework is an 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 data 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.