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

Type TestSuite

object --+
         |
        TestSuite

Known Subclasses:
AlgorithmSuite, AutomakeBuildSuite, AutomakeInMemorySuite, AutomakeInstallInMemorySuite, AutomakeOutputSuite, BasicDirectorySetupSuite, BasicIDLSuiteInMemory, BasicLocalInstallSuite, BasicMakeSuite, BasicSuite, BasicSuite, BasicSuite, Bug1713807, Bug_1817734, BuilderInterfaceTestSuite, CBuildSuite, CheckProgramBuildSuite, CheckProgramBuildSuite, CheckProgramInMemorySuite, CheckProgramInMemorySuite, CInMemoryTestSuite, CompletePackageBuildSuite, CompletePackageInMemorySuite, CompositeConfigSuite, ConditionalLocalInstallInMemorySuite, ConfigFileSuite, ConfigureACSuite, ConfixSuite, CoreInMemorySuite, DependencyInformationSuite, DependencySetSuite, DiGraphSuite, EnlargeForceSuite, ExecutableInMemorySuite, ExplicitCSetupBuildSuite, ExplicitCSetupInMemorySuite, ExplicitInterfaceInMemorySuite, FileInstallerSuite, FileSystemTestSuite, FrontendsInMemorySuite, GeneratedPackageSuite, HeaderInMemorySuite, HeaderInMemorySuite, HeaderInstallPathInMemorySuite, HierarchyInMemorySuite, IDLSuiteInMemory, IgnoredEntriesSuite, InstallInMemorySuite, InterfaceSuite, InterPackageBuildSuite, InterPackageInMemorySuite, InterPackageInMemorySuite, KDEHackTestSuiteBuild, LibraryInMemorySuite, LibrarySuite, LibtoolInMemorySuite, LocalPackageSuite, MachineryInMemorySuite, MakefileAmSuite, MakefileUtilsSuite, MakeSuiteBuild, NameManglingSuite, NearestPropertySuite, OverlayBasicSuite, OverlayErrorSuite, OverlaySuite, PkgConfigInMemorySuite, PlainFileSuiteBuild, PlainFileSuiteInMemory, PluginsBuildSuite, PluginsInMemorySuite, PropertySuite, PropertySuite, ProvideSuite, PseudoHandwrittenSuite, RegressionsInMemorySuite, RelateSuite, RelateTestSuite, RelocatedHeaderBuildSuite, RelocatedHeaderInMemorySuite, RelocatedHeadersBuildSuite, RelocatedHeadersInMemorySuite, ResolveTestSuite, ScanSuite, ScanSuite, ScriptSuiteInMemory, SetupsBuildSuite, SetupsInMemorySuite, SituationsSuite, Suite, UrgencyErrorSuite

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 Fri Nov 23 16:56:36 2007 http://epydoc.sf.net