def main():
    if Configuration.DEBUG == True:
        print("TestRunner.py - main")
    else:
        print("Debug messaging is OFF")

    # setup logger
    logName = None
    if not logFileFromBAT == None:
        logName = logFileFromBAT
        Configuration.Logger = UnitTestUtilities.initializeLogger(logFileFromBAT)
    else:
        logName = UnitTestUtilities.getLoggerName()
        Configuration.Logger = UnitTestUtilities.initializeLogger(logName)
    print("Logging results to: " + str(logName))
    UnitTestUtilities.setUpLogFileHeader()
    
    result = runTestSuite()
    logTestResults(result)
    print("END OF TEST =========================================\n")
    return
main test logic
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/utils/test/TestRunner.py/main