![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: Test Technique: Self-removing test databy Mutant (Priest) |
on Jul 18, 2007 at 08:44 UTC ( #627214=note: print w/replies, xml ) | Need Help?? |
If you use Test::Class (which I highly recommend!), you can create 'setup' and 'teardown' methods (which run before and after each test), and 'startup' and 'shutdown' methods (which run before each test class). You can even push these methods into a base class, and have related test classes inherit from this.
In Section
Meditations
|
|