schrodinger :: test :: stu :: client :: ResultReporter :: Class ResultReporter
[hide private]
[frames] | no frames]

Class ResultReporter

object --+
         |
        ResultReporter

Reporter that will upload results and files for a specific test run. (This is the report method.) Also marks runs as complete, with the option to send an email about test failures to the interested users (the completeRun method).

Instance Methods [hide private]
 
__init__(self, buildtype, build_id, mmshare, local_system, remote_system, username=None, release=None, build_log_address=None, comment=None, base_url=None, api_version=1)
x.__init__(...) initializes x; see help(type(x)) for signature
 
report(self, test, upload=True)
Report the result of ONE test and upload its files.
 
completeRun(self, duration, email=False)
Record that the run is complete, and include the total duration.
 
_getOrCreateBuild(self, mmshare, release, buildtype, build_id)
 
_createRun(self, mmshare, release, buildtype, build_id, build_log_address, comments)
 
_getOrCreateHost(self, **kwargs)
 
_getTestData(self, test)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  localhost
  remotehost

Inherited from object: __class__

Method Details [hide private]

__init__(self, buildtype, build_id, mmshare, local_system, remote_system, username=None, release=None, build_log_address=None, comment=None, base_url=None, api_version=1)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

completeRun(self, duration, email=False)

 

Record that the run is complete, and include the total duration. If email is True, trigger an email about test failures.


Property Details [hide private]

localhost

Get Method:
unreachable.localhost(self)

remotehost

Get Method:
unreachable.remotehost(self)