Debian Codegraph @

README

raw
1 CGI::Test
2 =========
3
4 Copyright (c) 2001, Raphael Manfredi
5 Copyright (c) 2011-2016, Alex Tokarev
6
7 Current maintainer: Alex Tokarev <[email protected]>
8
9 ------------------------------------------------------------------------
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the Artistic License, a copy of which can be
12 found with Perl 5.6.0.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 Artistic License for more details.
18 ------------------------------------------------------------------------
19
20 The CGI::Test framework is an answer to the CGI testing problem.
21
22 It is very difficult to perform testing of complex CGI scripts, which
23 handle multiple states and screens, and where a session involves
24 multiple interactions with the form. The offline testing mode of the
25 CGI module reaches its limit there.
26
27 Hence CGI::Test, which acts as a "server" for CGI scripts and can run
28 them offline, outside of any real web server. The framework offers
29 the infrastructure to analyze the data generated by CGI scripts, extract
30 the various widget information, and gives programmatic control on them.
31
32 The framework can be used to easily "test" that the various expected
33 widget controls are there, without necessarily interacting with the
34 widgets. You also have access to the raw HTML tree if you wish to
35 further inspect the generation.
36