Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Writing unit test scripts for .pl scriptsby talexb (Chancellor) |
on May 04, 2008 at 13:40 UTC ( [id://684419]=note: print w/replies, xml ) | Need Help?? |
Ok then -- start writing tests. You'll need to set up either a test database, with the same schema as your Production database, or perhaps use something like DBD::Mock to provide canned responses for particular queries. Just go ahead and read the documentation on either of those Test module and come back with any questions you have. Good luck!
In Section
Seekers of Perl Wisdom
|
|