By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,698 Members | 1,321 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,698 IT Pros & Developers. It's quick & easy.

Re: Trickiness with unittesting

P: n/a
ar*******@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
function-decorator level.

--
\ “I hate it when my foot falls asleep during the day, because |
`\ that means it's gonna be up all night.” —Steven Wright |
_o__) |
Ben Finney
Jul 19 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.