Re: Trickiness with unittesting

2008-07-18 Thread Ben Finney
[EMAIL PROTECTED] 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 http://somethingaboutorange.com/mrl/projects

Re: Trickiness with unittesting

2008-07-18 Thread Peter Otten
[EMAIL PROTECTED] wrote: > 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 have a few different test suites (call them SuiteA, SuiteB,...). For > one of the test suites (SuiteA), I need t

Trickiness with unittesting

2008-07-18 Thread arockstar
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 have a few different test suites (call them SuiteA, SuiteB,...). For one of the test suites (SuiteA), I need to execute a bit of code (say startFoo())