J
Jim Hefferon
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
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