Trees Indices Help
Python Standard Library
Module unittest :: Class TestProgram
[]

type TestProgram

object --+
 |
 TestProgram

A command-line program that runs a set of tests; this is primarily for making test modules conveniently executable.

Instance Methods [hide private]
__init__(self, module='__main__', defaultTest=None, argv=None, testRunner=None, testLoader=TestLoader())
usageExit(self, msg=None)
parseArgs(self, argv)
createTests(self)
runTests(self)
Class Variables [hide private]
USAGE = 'Usage: %(progName)s [options] [test] [...]\n\nOptions...
Method Details [hide private]

__init__(self, module='__main__', defaultTest=None, argv=None, testRunner=None, testLoader=TestLoader())
(Constructor)

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

USAGE

Value:
'''Usage: %(progName)s [options] [test] [...]

Options:
 -h, --help Show this message
 -v, --verbose Verbose output
 -q, --quiet Minimal output

Examples:
...

Trees Indices Help
Python Standard Library

AltStyle によって変換されたページ (->オリジナル) /