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

Type TestProgram

 object --+    
          |    
TestProgram --+
              |
             TestProgram


Override to add a python module and more options.
Method Summary
  __init__(self, module, defaultTest, argv, testRunner, testLoader)
  loadTests(self)
Load unit and doc tests from modules or names.
  parseArgs(self, argv)
Parse programs args.
  runTests(self)
Launch the tests.
    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
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
str USAGE = "%prog [options] file [class.method|class|suite]...

Method Details

loadTests(self)

Load unit and doc tests from modules or names.

parseArgs(self, argv)

Parse programs args.
Overrides:
unittest.TestProgram.parseArgs

runTests(self)

Launch the tests.
Overrides:
unittest.TestProgram.runTests

Class Variable Details

USAGE

Type:
str
Value:
"""%prog [options] file [class.method|class|suite] [...]

%prog launch a FunkLoad unit test.

A FunkLoad unittest use a configuration file named [class].conf, this
configuration is overriden by the command line options.

See http://funkload.nuxeo.org/ for more information.
...                                                                    

Generated by Epydoc 2.1 on Tue Feb 27 10:41:43 2007 http://epydoc.sf.net