I've just sent out the latest entry of my Test Automation Tips about Mocking real world to test a wrapper.
I was surprised to see that there are over 200 subscribes already.
This is kind of related... I wrote a Test module for testing subroutines within Perl programs without actually executing the program.
This is a common requirement as we have very old Perl programs which we're writing tests for.
Anyway, it's one of those things I'm sure could be done better, but was an interesting mental exercise... http://search.cpan.org/perldoc?Test::GlassBox::Heavy
(sorry, the source seems to be lacking some comments, my bad)
Re:tesing subs in perl programs
oliver on 2009-01-21T19:35:08
er, this is really in reply to your "Testing Hello World" post on 2008.06.09 - sorry not very relevant here!