background image
<< t/lib trick | Testing Web Stuff >>
<< t/lib trick | Testing Web Stuff >>
Make the GUI layer thin
Make the GUI layer thin
GUIs, CGI programs, etc... are hard to test.
Make the problem as small as possible.
Separate the form from the functionality.
Put as much code into format agnostic libraries as possible
Large, stand-alone programs (especially CGIs) ring alarm bells.
You might wind up with a small amount that still needs to be
tested by hand.
At least you don't have to test the whole thing by hand.