Re: testing with stubs

2002-12-13 Thread Michael G Schwern
On Thu, Dec 12, 2002 at 03:27:32PM -0600, Danny Faught wrote: I have a legacy Perl script, not object-oriented but at least ported to Perl 5. I want to use a real-world example, rather than new code like what Kent Beck uses in the book Test-Driven Development. So I thought I'd implement a

testing with stubs

2002-12-12 Thread Danny Faught
I'm writing an article about test-first programming for Linux Magazine. Unfortunately, my forte is more with black-box testing. Could I get some suggestions about implementation? I have a legacy Perl script, not object-oriented but at least ported to Perl 5. I want to use a real-world