[Python-Dev] setUpClass and setUpModule in unittest

Olemis Lang olemis at gmail.com
Tue Feb 9 20:26:53 CET 2010


On Tue, Feb 9, 2010 at 2:16 PM, Brian Curtin <brian.curtin at gmail.com> wrote:
> On Tue, Feb 9, 2010 at 12:29, Olemis Lang <olemis at gmail.com> wrote:
>>
>> On Tue, Feb 9, 2010 at 11:42 AM, Michael Foord
>> <fuzzyman at voidspace.org.uk> wrote:
>> > I'm pretty sure I can introduce setUpClass and setUpModule without
>> > breaking
>> > compatibility with existing unittest extensions or backwards
>> > compatibility
>> > issues
>>
>> Is it possible to use the names `BeforeClass` and `AfterClass` (just
>> to be make it look similar to JUnit naming conventions ;o) ?
>> --
>> Regards,
>>
>> Olemis.
>
>
> -1. setUp/tearDown is already well established here so I think it should
> follow the same convention.
>

ok no big deal

;o)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Nabble - Trac Users - Embedding pages?  -
http://feedproxy.google.com/~r/TracGViz-full/~3/MWT7MJBi08w/Embedding-pages--td27358804.html


More information about the Python-Dev mailing list