unit testing CGI scripts?
Jim Hefferon
jhefferon at smcvt.edu
Tue Feb 10 07:59:45 EST 2004
Hello,
Does anyone have suggestions for unit testing CGI scripts? For
instance, how can I set the FieldStorage to have certain values?
Do I have to go with a dummy FieldStorage class? And is there a
better way to check the output than to compare the resulting (sometimes
very large) strings? Changing the HTML slightly means that I have to
edit the tests and that defeats the purpose of the tests, to
some extent. I'd greatly appreciate any tips.
Thanks,
Jim
More information about the Python-list
mailing list