|
UnitTestHarness
1.0
Unit Testing Tool
|
Functions | |
| def | checkWccoaInstalled |
| Exits if WinCC-OA is not installed. More... | |
| def | useExisitingProject |
| Checks that the given project is registered. More... | |
| def | setupForCleanProject |
| Creates a clean project, adds the installation tool and installs the fw components (including the unit testing component). More... | |
| def | getTestResultsFromProject |
| Copies the results from the project into the $UNITTEST/Results directory. More... | |
| def | deleteProject |
| Deletes the given project. More... | |
| def | stopAllProjects |
| def handleWinCCOAProject.checkWccoaInstalled | ( | ) |
Exits if WinCC-OA is not installed.
| def handleWinCCOAProject.deleteProject | ( | projectPath | ) |
Deletes the given project.
| projectPath | String |
| def handleWinCCOAProject.getTestResultsFromProject | ( | projectPath, | |
| useExistingProject | |||
| ) |
Copies the results from the project into the $UNITTEST/Results directory.
| projectPath | String |
| def handleWinCCOAProject.setupForCleanProject | ( | projectPath, | |
| componentsToInstall, | |||
| componentDirectories | |||
| ) |
Creates a clean project, adds the installation tool and installs the fw components (including the unit testing component).
| projectPath | String |
| componentsToInstall | String[], A list of the components that should be installed into the project. |
| componentDirectories | String[], A list of directories where the components have been downloaded to. |
| def handleWinCCOAProject.stopAllProjects | ( | ) |
| def handleWinCCOAProject.useExisitingProject | ( | projectPath | ) |
Checks that the given project is registered.
Starts the project if it is not already running.
| projectPath | String |