Part of nevow.livetrial.testcase View Source View In Hierarchy
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 143 | Method | __init__ | Undocumented |
| 148 | Method | loadByName | Given a string representing a Python object, return whatever tests |
| 153 | Method | loadMethod | Given a method of a TestCase that represents a test,
return a
|
| 157 | Method | loadClass | Given a class which contains test cases, return a sorted list of |
| 165 | Method | loadModule | Return a test suite with all the tests from a module. |
| 174 | Method | isTestCase | Undocumented |
Inherited from TestLoader:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 423 | Method | sort | Sort the given things using sorter.
|
| 431 | Method | findTestClasses | Given a module, return all Trial test classes |
| 439 | Method | findByName | Return a Python object given a string describing it. |
| 500 | Method | getTestCaseNames | Given a class that contains TestCases, return a list of
names of
|
| 521 | Method | loadPackage | Load tests from a module object representing a package, and return a |
| 563 | Method | loadDoctests | Return a suite of tests for all the doctests defined in
module.
|
| 579 | Method | loadAnything | Given a Python object, return whatever tests that are in it. Whatever |
| 620 | Method | loadByNames | Construct a TestSuite containing all the tests found in 'names', where |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 143 | Method | __init__ | Undocumented |
| 439 | Method | findByName | Return a Python object given a string describing it. |
| 431 | Method | findTestClasses | Given a module, return all Trial test classes |
| 500 | Method | getTestCaseNames | Given a class that contains TestCases, return a list of
names of
|
| 174 | Method | isTestCase | Undocumented |
| 579 | Method | loadAnything | Given a Python object, return whatever tests that are in it. Whatever |
| 148 | Method | loadByName | Given a string representing a Python object, return whatever tests |
| 620 | Method | loadByNames | Construct a TestSuite containing all the tests found in 'names', where |
| 157 | Method | loadClass | Given a class which contains test cases, return a sorted list of |
| 563 | Method | loadDoctests | Return a suite of tests for all the doctests defined in
module.
|
| 153 | Method | loadMethod | Given a method of a TestCase that represents a test,
return a
|
| 165 | Method | loadModule | Return a test suite with all the tests from a module. |
| 521 | Method | loadPackage | Load tests from a module object representing a package, and return a |
| 423 | Method | sort | Sort the given things using sorter.
|
Given a string representing a Python object, return whatever tests are in that object.
Ifname is somehow inaccessible (e.g. the module can't be
imported, there is no Python object with that name etc) then return an
ErrorHolder.
| Parameters | name | The fully-qualified name of a Python object. |
TestCase that represents a test,
return a TestCase instance for that test.
TestCase instances.
Return a test suite with all the tests from a module.
Included are TestCase subclasses and doctests listed in the module's
__doctests__ module. If that's not good for you, put a function named
either testSuite or test_suite in your module
that returns a TestSuite, and I'll use the results of that instead.
testSuite and test_suite are both
present, then I'll use testSuite.