Package funkload :: Module TestRunner :: Class TestLoader
[show private | hide private]
[frames | no frames]

Type TestLoader

object --+    
         |    
TestLoader --+
             |
            TestLoader


Override to add options when instanciating test case.
Method Summary
  loadTestsFromModule(self, module)
Return a suite of all tests cases contained in the given module
  loadTestsFromName(self, name, module)
Return a suite of all tests cases given a string specifier.
  loadTestsFromTestCase(self, testCaseClass)
Return a suite of all tests cases contained in testCaseClass
integer sortTestMethodsUsing(x, y)
Return negative if x<y, zero if x==y, positive if x>y.
    Inherited from TestLoader
  getTestCaseNames(self, testCaseClass)
Return a sorted sequence of method names found within testCaseClass
  loadTestsFromNames(self, names, module)
Return a suite of all tests cases found using the given sequence of string specifiers.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
    Inherited from TestLoader
str testMethodPrefix = 'test'

Method Details

loadTestsFromModule(self, module)

Return a suite of all tests cases contained in the given module
Overrides:
unittest.TestLoader.loadTestsFromModule

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.
Overrides:
unittest.TestLoader.loadTestsFromName

loadTestsFromTestCase(self, testCaseClass)

Return a suite of all tests cases contained in testCaseClass
Overrides:
unittest.TestLoader.loadTestsFromTestCase

Generated by Epydoc 2.1 on Tue Feb 27 10:41:42 2007 http://epydoc.sf.net