[TIP] Skipping with stdlib unittest.py
Nicolas Chauvat
nicolas.chauvat at logilab.fr
Mon Jul 27 13:34:33 PDT 2009
Hello,
On Fri, Jul 24, 2009 at 12:05:12PM -0400, Jean-Paul Calderone wrote:
> I'm curious about what other people do when they're using the stdlib unittest
> module and need to skip tests. Fortunately, in Python 2.7, skipping features
> will be added, but what have people been doing up until now?
logilab.common.testlib can skip tests.
Here are examples from the tests of l.c.testlib:
http://hg.logilab.org/logilab/common/file/4529e85472a7/test/unittest_testlib.py
Search for "skip" in the above or in
http://hg.logilab.org/logilab/common/file/4529e85472a7/testlib.py
Hope this helps,
--
Nicolas Chauvat
logilab.fr - services en informatique scientifique et gestion de connaissances
More information about the testing-in-python
mailing list