unittest. customizing tstloaders / discover()

Nathan Rice nathan.alexander.rice at gmail.com
Mon Dec 12 11:50:55 EST 2011


Nose is absolutely the way to go for your testing needs.  You can put
"__test__ = False" in modules or classes to stop test collection.

On Mon, Dec 12, 2011 at 5:44 AM, Thomas Bach <bachth at uni-mainz.de> wrote:
> Gelonida N <gelonida at gmail.com> writes:
>
>> Do I loose anything if using nose. or example can all unit tests / doc
>> tests still be run from nose?
>
> AFAIK you don't loose anything by using nose – the unittests should all
> be found and doctests can be run via `--with-doctest', I never used
> doctests though.
>
> regards
> --
> http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list