':param enable: Set self.do_tap_report to trigger TAP reporting.
:param resultdir: Path where the TAP report files will be written.
:param global_filename: File name of the status files .tap extensions
will be appended.'

def __init__(self, enable, resultdir=None, global_filename='status'):

    self.do_tap_report = enable
    if (resultdir is not None):
        self.resultdir = os.path.abspath(resultdir)
    self._reports_container = {}
    self._keyval_container = {}
    self.global_filename = global_filename
