4Suite API Documentation

Module Ft.Lib.TestSuite.Tester

######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Lib/TestSuite/Tester.py,v 1.13 2004/11/04 05:33:46 mbrown Exp $
Classes:
Functions:
Fields:

Classes

class TestItem

Methods

__init__(self, title)
__repr__(self)
debug(self, msg)
error(self, msg)
finish(self)
message(self, msg)
warning(self, msg)

class Tester

Methods

__init__(self, stopOnError=1, useColor=1, verbose=4, stream=<open file '<stdout>', mode 'w' at 0x30036068>)
compare(self, expected, actual, msg=None, func=<built-in function cmp>, diff=0, stackLevel=1, funcArgs={})
compareIn(self, expected, actual, msg=None, stackLevel=1)
debug(self, msg)
error(self, msg, traceLimit=1, stackLevel=1)
exception(self, msg)
groupDone(self)
message(self, msg)
report(self)
startGroup(self, title)
startTest(self, title)
testDone(self)
testException(self, func, args, etype, value={}, stackLevel=1, kwargs={})
warning(self, msg)
writeline(self, level, msg)

Fields

BROWN = '\x1b[33m'
GRAY = '\x1b[1;30m'
GREEN = '\x1b[1;32m'
NORMAL = '\x1b[0m'
RED = '\x1b[1;31m'
WHITE = '\x1b[1;37m'
YELLOW = '\x1b[1;33m'
double_sep = '========================================================================'
single_sep = '------------------------------------------------------------------------'

Functions

extract_stack(frame=None, limit=None)
format_stack(frame=None, limit=None)

Fields