Part of twisted.trial View Source
|Class||FailTest||Raised to indicate the current test has failed to pass.|
|Class||SkipTest||Raise this (with a reason) to skip the current test. You may also set method.skip to a reason string to skip it, or set class.skip to skip the entire TestCase.|
|Class||SynchronousTestCase||A unit test. The atom of the unit testing universe.|
|Class||TestCase||A unit test. The atom of the unit testing universe.|
|Class||TestSuite||Extend the standard library's
|Function||decorate||Decorate all test cases in
Todoobject built from
value is a string, return a Todo that expects any
value as a reason. If
value is a
tuple, the second element is used as the reason and the first element as
the excepted error(s).
|Parameters||value||A string or a tuple of |
test can be a test case or a test suite. If it is a test
suite, then the structure of the suite is preserved.
tries to preserve the class of the test suites it finds, but assumes the
presence of the
_tests attribute on the suite.
|decorator||A unary callable used to decorate |
|Returns||A decorated |