Home | Trees | Index | Help |
|
---|
Module unittest :: Class TestLoader |
|
object
--+
|
TestLoader
CustomMethodNameLoader
Method Summary | |
---|---|
Return a sorted sequence of method names found within testCaseClass | |
Return a suite of all tests cases contained in the given module | |
Return a suite of all tests cases given a string specifier. | |
Return a suite of all tests cases found using the given sequence of string specifiers. | |
Return a suite of all tests cases contained in testCaseClass | |
integer |
Return negative if x<y, zero if x==y, positive if x>y. |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
type |
suiteClass = unittest.TestSuite |
str |
testMethodPrefix = 'test'
|
Method Details |
---|
getTestCaseNames(self, testCaseClass)Return a sorted sequence of method names found within testCaseClass |
loadTestsFromModule(self, module)Return a suite of all tests cases contained in the given module |
loadTestsFromName(self, name, module=None)Return a suite of all tests cases given a string specifier. The name may resolve either to a module, a test case class, a test method within a test case class, or a callable object which returns a TestCase or TestSuite instance. The method optionally resolves the names relative to a given module. |
loadTestsFromNames(self, names, module=None)Return a suite of all tests cases found using the given sequence of string specifiers. See 'loadTestsFromName()'. |
loadTestsFromTestCase(self, testCaseClass)Return a suite of all tests cases contained in testCaseClass |
Class Variable Details |
---|
testMethodPrefix
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Dec 3 15:27:57 2006 | http://epydoc.sf.net |