[TIP] including tests in packages, or not

Olemis Lang olemis at gmail.com
Mon Sep 21 05:31:35 PDT 2009


On Mon, Sep 21, 2009 at 7:25 AM, Robert Collins
<robertc at robertcollins.net> wrote:
>
> Olemis Lang wrote:
>
>> What's wrong with setuptools test command ?
>
> Someone that just has the package installed is less likely to have
> setup.py there.
>

Yes you'r right (I confess) . Why not to add test command in unittest itself ?

>> IMO, if someone needs something like this then it would always be
>> possible to subclass TestLoader . Why should that be included in the
>> top-level (i.e. very simple ;o) TestLoader class ?
>
> Why should someone have to subclass to get something that is both
> trivial and extremely useful?
>

Well here possibly you'r right :) ... so I wont follow ;o)

-- 
Regards,

Olemis.

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

Featured article:
Solo 12 minutos ... para volver a nacer  -
http://feedproxy.google.com/~r/simelo-es/~3/L0etLsqDEBI/solo-12-minutos-para-volver-nacer.html



More information about the testing-in-python mailing list