in reply to Test Technique: Self-removing test data
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Test Technique: Self-removing test data
by markjugg (Curate) on Jul 18, 2007 at 13:30 UTC | |
by Anonymous Monk on Jul 19, 2007 at 03:45 UTC |
In Section
Meditations