[TIP] Skipping with stdlib unittest.py
John Arbash Meinel
john at arbash-meinel.com
Fri Jul 24 09:30:08 PDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Jean-Paul Calderone wrote:
> Hi all,
> 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?
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
Writing their own.
bzr, for example, hooks into the TestResult.addError to check to see if
this exception is actually a "TestSkipped" exception, and then changes
how the result is reported.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the testing-in-python