Class d.r.CursesReporter(Reporter):

Part of dtester.reporter View In Hierarchy

A more advanced reporter for terminal users based on curses functionality. Concentrates on test results and emits setUp and tearDown information only as vanishing status lines.
Method __init__
Method addResultLine Undocumented
Method updateResultLine Undocumented
Method addStatusLine Undocumented
Method dropStatusLine Undocumented
Method getStatusLines Undocumented
Method begin Undocumented
Method end Undocumented
Method startTest Undocumented
Method renderResultLine Undocumented
Method stopTest Undocumented
Method startSetUpSuite Undocumented
Method stopSetUpSuite Undocumented
Method startTearDownSuite Undocumented
Method stopTearDownSuite Undocumented
Method suiteSetUpFailure Undocumented
Method suiteTearDownFailure Undocumented

Inherited from Reporter:

Method getDescription
Method getInnerError Undocumented
Method getShortError Undocumented
Method dumpError Undocumented
Method dumpErrors Undocumented
Method harnessFailure Undocumented
def __init__(self, outs=sys.stdout, errs=sys.stderr):
Parametersoutsoutput stream for progress and result information (type: file handle )
errserror stream for reporting errors (type: file handle )
def addResultLine(self, tname, str):
Undocumented
def updateResultLine(self, tname, str):
Undocumented
def addStatusLine(self, tname, str):
Undocumented
def dropStatusLine(self, tname):
Undocumented
def getStatusLines(self, offset=0):
Undocumented
def begin(self, tdefs):
Undocumented
def end(self, t_diff, count_total, count_succ, errors):
Undocumented
def startTest(self, tname, test):
Undocumented
def renderResultLine(self, result, tname, tdesc, errmsg=None, filename=None, lineno=None):
Undocumented
def stopTest(self, tname, test, result, error):
Undocumented
def startSetUpSuite(self, tname, suite):
Undocumented
def stopSetUpSuite(self, tname, suite):
Undocumented
def startTearDownSuite(self, tname, suite):
Undocumented
def stopTearDownSuite(self, tname, suite):
Undocumented
def suiteSetUpFailure(self, tname, error):
Undocumented
def suiteTearDownFailure(self, tname, error):
Undocumented
API Documentation for dtester, generated by pydoctor at 2010-03-20 11:01:55.