[Python-Dev] setUpClass and setUpModule in unittest
Robert Kern
robert.kern at gmail.com
Tue Feb 9 23:36:38 CET 2010
On 2010-02-09 15:57 PM, Ben Finney wrote:
> Is there a better third-party framework for use in these cases? As
> Olemis points out later in this thread, I don't think it's good for the
> ‘unittest’ module to keep growing for uses that aren't focussed on unit
> tests (as contrasted with other kinds of tests).
nosetests allows you to write such module-level and class-level setup and
teardown functions.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-Dev
mailing list