type TestProgram
object --+
|
TestProgram
A command-line program that runs a set of tests; this is primarily for
making test modules conveniently executable.
|
__init__(self,
module=' __main__ ' ,
defaultTest=None,
argv=None,
testRunner=None,
testLoader=TestLoader()) |
|
|
|
usageExit(self,
msg=None) |
|
|
|
|
|
|
|
|
|
USAGE = ' Usage: %(progName)s [options] [test] [...]\n\nOptions ...
|
__init__(self,
module=' __main__ ' ,
defaultTest=None,
argv=None,
testRunner=None,
testLoader=TestLoader())
(Constructor)
|
|
- Overrides:
object.__init__
- (inherited documentation)
|
USAGE
- Value:
''' Usage: %(progName)s [options] [test] [...]
Options:
-h, --help Show this message
-v, --verbose Verbose output
-q, --quiet Minimal output
Examples:
...
|
|