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

Module TestRunner

source code

FunkLoad Test runner.

Similar to unittest.TestProgram but: * you can pass the python module to load * able to override funkload configuration file using command line options * cool color output * support doctest with python2.4

$Id: TestRunner.py 24758 2005-08-31 12:33:00Z bdelbosc $

Classes [hide private]
  TestLoader
Override to add options when instanciating test case.
  _ColoredTextTestResult
Colored version.
  ColoredTextTestRunner
Override to be color powered.
  TestProgram
Override to add a python module and more options.
Functions [hide private]
 
DTC_runTest(self) source code
 
filter_testcases(suite, cpattern, negative_pattern=False)
Filter a suite with test names that match the compiled regex pattern.
source code
 
display_testcases(suite)
Display test cases of the suite.
source code
 
main()
Default main.
source code
Variables [hide private]
  g_doctest_verbose = False
  g_has_doctest = True