class documentation

class TrialRunner: (source)

View In Hierarchy

A specialised runner that the trial front end uses.
Method __init__ Undocumented
Method run Run the test or suite and return a result object.
Method run​Until​Failure Repeatedly run test until it fails.
Constant DEBUG Undocumented
Constant DRY​_RUN Undocumented
Instance Variable debugger Undocumented
Instance Variable logfile Undocumented
Instance Variable mode Undocumented
Instance Variable reporter​Factory Undocumented
Instance Variable rterrors Undocumented
Instance Variable stream Undocumented
Instance Variable tbformat Undocumented
Instance Variable unclean​Warnings Undocumented
Instance Variable working​Directory Undocumented
Method _make​Result Undocumented
Method _run​Without​Decoration Private helper that runs the given test but doesn't decorate it.
Method _set​Up​Log​File Undocumented
Method _set​Up​Testdir Undocumented
Method _tear​Down​Log​File Undocumented
Method _tear​Down​Testdir Undocumented
Instance Variable _exit​First Undocumented
Instance Variable _force​Garbage​Collection Undocumented
Instance Variable _log​File​Object Undocumented
Instance Variable _log​File​Observer Undocumented
Instance Variable _result Undocumented
Instance Variable _test​Dir​Lock Undocumented
def __init__(self, reporterFactory, mode=None, logfile='test.log', stream=sys.stdout, profile=False, tracebackFormat='default', realTimeErrors=False, uncleanWarnings=False, workingDirectory=None, forceGarbageCollection=False, debugger=None, exitFirst=False): (source)

Undocumented

def run(self, test): (source)
Run the test or suite and return a result object.
def runUntilFailure(self, test): (source)
Repeatedly run test until it fails.
DEBUG: str = (source)

Undocumented

Value
'debug'
DRY_RUN: str = (source)

Undocumented

Value
'dry-run'
debugger = (source)

Undocumented

logfile = (source)

Undocumented

mode = (source)

Undocumented

reporterFactory = (source)

Undocumented

rterrors = (source)

Undocumented

stream = (source)

Undocumented

tbformat = (source)

Undocumented

uncleanWarnings = (source)

Undocumented

workingDirectory = (source)

Undocumented

def _makeResult(self): (source)

Undocumented

def _runWithoutDecoration(self, test, forceGarbageCollection=False): (source)
Private helper that runs the given test but doesn't decorate it.
def _setUpLogFile(self): (source)

Undocumented

def _setUpTestdir(self): (source)

Undocumented

def _tearDownLogFile(self): (source)

Undocumented

def _tearDownTestdir(self, oldDir): (source)

Undocumented

_exitFirst = (source)

Undocumented

_forceGarbageCollection = (source)

Undocumented

_logFileObject = (source)

Undocumented

_logFileObserver = (source)

Undocumented

_result = (source)

Undocumented

_testDirLock = (source)

Undocumented