Think about Loose Coupling | |
PerlMonks |
Re^2: Stupid, but fun, ideas in testingby Ovid (Cardinal) |
on Nov 24, 2007 at 16:27 UTC ( [id://652745]=note: print w/replies, xml ) | Need Help?? |
You could probably easily hack in that separation to Test::Class, but that's not part of its design. By deliberately allowing different tests to run in the same process, you can easily find hidden assumptions about state. Maintaining a reasonable state is what the startup/setup/teardown/shutdown attributes are for. See this thread for Adrian Howard's thoughts on this topic.
Cheers, New address of my CGI Course.
In Section
Meditations
|
|