Table of Contents

Class: TestSuite Twisted-0.17.4/pyunit/unittest.py

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.

Methods   
__call__
__init__
__repr__
addTest
addTests
countTestCases
debug
run
  __call__ 
__call__ ( self,  result )

  __init__ 
__init__ ( self,  tests=() )

  __repr__ 
__repr__ ( self )

  addTest 
addTest ( self,  test )

  addTests 
addTests ( self,  tests )

  countTestCases 
countTestCases ( self )

  debug 
debug ( self )

Run the tests without collecting errors in a TestResult

  run 
run ( self,  result )


Table of Contents

This document was automatically generated on Sat Apr 20 01:30:45 2002 by HappyDoc version 2.0