NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Break it Up (Score:1)
You have several options:
I don't do much graphics programming, but if you separate display from logic, you'll have plenty of opportunities to test the essential behavior.
Reply to This
Re:Break it Up (Score:2)
You can test the building one automatically and the printing one by hand if you need to.
Ugh, no testing by hand, thanks. :) That's why the question "how do I test a routine that prints something" still exists after I design for testing and break the routine up. The other ideas were good, though; thanks.
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers