tag 561493 +wontfix thanks On Thursday 17 December 2009 17:27:47 Ignacio Diez wrote: > Package: python-unit > Version: 1.4.1-16 > Severity: wishlist > > TestCase provides a setUp method that is called before EVERY test method. > However, it would be more usefull to have also a "globalSetUp" method that > will be called before running the tests, and before calling setUp for the > FIRST time. It would only be called once. The same is applicable for > tearDown and globalTearDown. > > Most of the times there are things to be done before (or after) all the > tests, but not before (or after) every test. > > Thank you.
Hi, The python-unit package is there mostly for the graphical runner as unittest is available in the standard library. Moreover, this is a feature request on some upstream component. To do so please use the tracker of the project. Please read http://python.org/dev/patches/ and contribute the methods you need. Additionally, I'd suggest giving a look at the various unit testing frameworks available for Python, some of which provide what you want (see for example http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#Python) Happy holidays -- Alexandre Fayolle LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Informatique scientifique: http://www.logilab.fr/science -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org