doTest - noetl/noetl GitHub Wiki

E.g. exitCode = doTest(configFileName, True)

Parameters

  • configFileName: name of the configuration file

Key Variables

  • exitCode: the output of each step as they finish executing

Functionality

  • DoTest executes the testList from the WORKFLOW.TEST.FUNCTIONS in the config file.
  • Test functions include: getConfig, getTask, curPattern, addTime, getCursor.
  • DoTest imitates the execution of each of the steps, starting with the "start" step, and prints updates of the process to the terminal and writing to the log file.

Except Statement

Re-raises the most recent exception.

Return Value

None