4Suite API Documentation

Module Ft.Lib.TestSuite.TestSuite

######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Lib/TestSuite/TestSuite.py,v 1.12 2002/12/19 20:31:13 jkloth Exp $
Classes:
Fields:

Classes

class TestSuite

Methods

__init__(self, attrs)
addTests(self, packages)
runTests(self)
showHelp(self, tests)
showTests(self)

Fields

boolean_opts = ('full', 'stop', 'nocolor', 'noreport', 'offline', 'help', 'help-tests')
negative_opts = {'nocolor': 'color', 'noreport': 'report', 'quiet': 'verbose'}
options = [('help', 'h', 'Show detailed help message'), ('help-tests', 't', 'List all available tests'), ('verbose', 'v', 'Increase display verbosity'), ('quiet', 'q', 'Decrease display verbosity'), ('mode=', 'm', 'Add mode to default modes to run'), ('skip=', 'k', 'Remove a mode from the modes to run'), ('full', 'f', 'Use all modes'), ('stop', 's', 'Stop on errors'), ('nocolor', 'n', 'Disable ANSI color sequences'), ('noreport', 'r', 'Disable report generation'), ('outfile=', 'o', 'Specify an output file for all results'), ('offline', 'l', 'Skip tests requiring internet connection')]

Fields

StringTypes = (<type 'str'>, <type 'unicode'>)
USAGE = "Usage:\n %(script)s [options] [test] [...]\n %(s...p)sfile run just 'file' from 'directory'\n"