good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: The Joy of Testby gmax (Abbot) |
on Apr 11, 2002 at 19:43 UTC ( [id://158407]=note: print w/replies, xml ) | Need Help?? |
Thanks, Ovid. You're one step ahead of me in this respect. I have already figured out that subs stubs (for which I even write the documentation before hacking the code) are the right path toward implementing a good design, but I didn't think of integrating them into my test.pl. Instead, I was endlessly running test cases that were doing the same thing you are saying, only more complicated. I am going to try out your suggestion, which I foresee could simplify my coding practice. However, I have a doubt that maybe is just a technical quibble. I am used to make small test scripts, and to run them against different aspects of the module I am building up. Is there any ready-to-use idiom to make a test.pl script by assembling several small ones together? Keep on the good work. _ _ _ _ (_|| | |(_|>< _|
In Section
Meditations
|
|