[TIP] while on the subject of unittest...
Olemis Lang
olemis at gmail.com
Mon Sep 28 06:25:06 PDT 2009
On Sun, Sep 27, 2009 at 2:27 PM, Michael Foord
<fuzzyman at voidspace.org.uk> wrote:
> Fernando Perez wrote:
>
Hi everybody !
> Note that with Python head the following command line may already do
> what you want:
>
> python -m unittest foo
>
outside stdlib , if setuptools is installed, then it's also possible to exec ...
{{{
#!sh
$ python ./setup.py test -m foo
}}}
... indeed I'd prefer this command added in stdlib ;o)
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
Sobrepasa las 300 descargas el módulo dutest -
http://feedproxy.google.com/~r/simelo-es/~3/U5rff5iTQPI/sobrepasa-las-300-descargas-el-modulo.html
More information about the testing-in-python
mailing list