Module unittest :: Class TestSuite
[show private | hide private]
[frames | no frames]

Type TestSuite

object --+
         |
        TestSuite


A test suite is a composite test consisting of a number of TestCases.

For use, create an instance of TestSuite, then add test case instances. When all tests have been added, the suite can be passed to a test runner, such as TextTestRunner. It will run the individual test cases in the order in which they were added, aggregating the results. When subclassing, do not forget to call the base class constructor.
Method Summary
  __init__(self, tests)
  __call__(self, *args, **kwds)
  __iter__(self)
  __repr__(self)
  __str__(self)
  addTest(self, test)
  addTests(self, tests)
  countTestCases(self)
  debug(self)
Run the tests without collecting errors in a TestResult
  run(self, result)
    Inherited from object
  __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
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Method Details

debug(self)

Run the tests without collecting errors in a TestResult

Generated by Epydoc 2.1 on Sun Dec 3 15:27:57 2006 http://epydoc.sf.net