Trickiness with unittesting
bignose+hates-spam at benfinney.id.au
Sat Jul 19 02:48:43 CEST 2008
arockstar at gmail.com writes:
> Basically, I'm trying to implement a setUp() and TearDown() for a
> python TestSuite (as opposed to an individual test within the suite).
> Sort of.
I think your described requirements are well met by the 'nose'
extension <URL:http://somethingaboutorange.com/mrl/projects/nose/>. It
lets you continue writing 'unittest' tests, but also allows you to
declare setup and teardown functions at package, module, class, and
\ “I hate it when my foot falls asleep during the day, because |
`\ that means it's gonna be up all night.” —Steven Wright |
More information about the Python-list