Package schrodinger :: Package test :: Package stu :: Module base_executable :: Class TestUtility
[hide private]
[frames] | no frames]

Class TestUtility

object --+
         |
        TestUtility

Instance Methods [hide private]
 
__init__(self, arguments=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
printHeader(self)
Print header
 
printFooter(self)
argparse.ArgumentParser
getParser(self, prog=None, description=None)
 
getOptions(self, arguments=None, user_option=True)
 
getTests(self)
Get the TestScript objects required based on the mode.
bool
runJobs(self, inscratch=False)
Returns: Did test execution complete as expected?
 
printRunSummary(self, runner)
 
printOnlyFailed(self, tests)
 
printTestNumbers(self, test_ids)
 
__call__(self)
 
_doCommand(self, test)
 
requireApiKey(self, parser)

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

Class Variables [hide private]
  present_tense = None
hash(x)
  past_tense = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, arguments=None)
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

runJobs(self, inscratch=False)

 
Parameters:
  • report - Should results be reported to the DB?
  • inscratch - Should the tests be copied to a scratch directory before execution?
Returns: bool
Did test execution complete as expected?