next up previous contents
Next: 1.8 Critical Units Up: 1 Introduction Previous: 1.6 Overall Test Report   Contents


1.7 Automated Testing Script for SAM

To ease performing static analysis (through the use of the tool pychecker) and unit and integration tests on classes in SAM, a shell script will be written. This script, entitled runtests, will be stored in the src/test/sam directory. The arguments to runtests will be the names of the classes to be tested, without the .py suffix. Additionally, runtests will accept three options: If no options are given, the default is to run all three different types of tests for the classes given.

The script creates the Unit Testing Reports (see section 4.6) and Integration Testing Reports (see section 5.6) automatically, so all that needs to be done by the tester is to rename the reports with the correct number and move them to the specified test report directory.