def main(): operations(numberOfRuns) movePcapFiles() cleanup() autoreport.autoreport(testName) os._exit(1)
def main(): makePreparations() runTest() compareErrorCodes() printErrors() autoreport.autoreport("js-viewer-server-test")
def main(): makePreparations() runTest() compareErrorCodes() printErrors() autoreport.autoreport("js-viewer-server-test")
#import autoreport import autoreport #<--<< # This is an example test script # arrows point to the additions needed for autoreporting print "example test script" #test goes here #send the config name to autoreport and create the report if needed autoreport.autoreport("js-viewer-server-test") #<--<<
####### ENABLE AUTO REPORTING IN A TEST # arrows point to the additions needed for autoreporting import autoreport #<--<< # This is an example test script print "example test script" #test goes here #send the config name to autoreport and create the report if needed autoreport.autoreport("exampletest") #<--<< #################### ADD THE TEST CONFIG TO AUTOREPORT # Additions needed in autoreport.py # under CONSTANTS at around line 43, add """ TEST4 = "exampletest" """ # to function whichTestWasRun(option), add """ elif option == TEST4: launchTundra() """ # add setup function """ def exampleTest(): global testName global testComment global errorPattern
def main(): makePreparations() os.chdir(rexbinDir) runTundra(param) os.chdir(scriptDir) autoreport.autoreport(testName)
def main(): operations(numberOfRuns) movePcapFiles() cleanup() autoreport.autoreport(testName) os._exit(1)
####### ENABLE AUTO REPORTING IN A TEST # arrows point to the additions needed for autoreporting import autoreport #<--<< # This is an example test script print "example test script" #test goes here #send the config name to autoreport and create the report if needed autoreport.autoreport("exampletest") #<--<< #################### ADD THE TEST CONFIG TO AUTOREPORT # Additions needed in autoreport.py # under CONSTANTS at around line 43, add """ TEST4 = "exampletest" """ # to function whichTestWasRun(option), add """ elif option == TEST4: launchTundra() """ # add setup function """ def exampleTest(): global testName global testComment global errorPattern global logDir
def main(): makePreparations() os.chdir(rexbinDir) runTundra(param) os.chdir(scriptDir) autoreport.autoreport(testName)