Re: SetUp functions for multiple test cases

2009-01-20 Thread Georg Schmid
On Jan 20, 3:57 pm, Roy Smith wrote: > In article > <45b0bf56-673c-40cd-a27a-62f9943d9...@r41g2000prr.googlegroups.com>, >  Georg Schmid wrote: > > > I've just started working with unittests and already hit a snag. I > > couldn't find out how to impl

SetUp functions for multiple test cases

2009-01-20 Thread Georg Schmid
I've just started working with unittests and already hit a snag. I couldn't find out how to implement a setup function, that is executed only _once_ before all of the tests. Specifically, I need this for testing my database interface, and naturally I don't want to create a new database in-memory an