Home | Trees | Index | Help |
|
---|
Module unittest :: Class 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)
| |
Run the tests without collecting errors in a TestResult | |
run(self,
result)
| |
Inherited from object | |
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.__setattr__('name', value) <==> x.name = value |
Method Details |
---|
debug(self)Run the tests without collecting errors in a TestResult |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Dec 3 15:27:57 2006 | http://epydoc.sf.net |