UnitTestHarness  1.0
Unit Testing Tool
 All Data Structures Namespaces Files Functions Variables Pages
runUnitTests Namespace Reference

Functions

def main
 Sets up the environment and runs the unit testing CTRL script. More...
 
def downloadComponentsAndSetupProject
 Creates and clean project and downloads the source files listed in the run configuration file. More...
 
def setupDirectories
 Deletes old SANDBOX_PATH and creates a new/clean version. More...
 
def cleanUpFiles
 Deletes project if an already existing project has not been used. More...
 

Variables

tuple parser = argparse.ArgumentParser()
 
tuple args = parser.parse_args()
 

Function Documentation

def runUnitTests.cleanUpFiles (   useExistingProject,
  projectPath 
)

Deletes project if an already existing project has not been used.

Removes the SANDBOX_PATH

Parameters
useExistingProjectBoolean
def runUnitTests.downloadComponentsAndSetupProject (   runConfigurationPathName,
  projectPath 
)

Creates and clean project and downloads the source files listed in the run configuration file.

Used when not using an existing project.

Parameters
runConfigurationPathNameString
projectNameString
def runUnitTests.main (   projectPath = None,
  runConfigurationPathName = None,
  emailAddresses = None 
)

Sets up the environment and runs the unit testing CTRL script.

Parameters
projectPathString,
runConfigurationPathNameString,
emailAddressesString[],
def runUnitTests.setupDirectories (   useExistingProject)

Deletes old SANDBOX_PATH and creates a new/clean version.

Variable Documentation

tuple args = parser.parse_args()
tuple parser = argparse.ArgumentParser()