next up previous contents
Next: 7 GUI Testing Up: Test Plan (TP) Rate Previous: 5.7 Regression Testing   Contents


6 Testing Procedure For Logger

The Logger component of SAM is not written in Python, but in C. Therefore it is not possible to use PyUnit in order to test it. A number of unit testing frameworks for C were considered and one called Check was chosen due to it's nice neat syntax and ability to run tests under different address spaces in order to produce a test report even when the code crashes. For information on check see http://check.sourceforge.net/.

Unfortunately however, due to problems installing Check, it could not be used for this project. Instead, a small testing framework will be written by the person writing the test cases for Logger. This framework will be kept in CVS under src/test/sam/Mtest/ in the files Mtest.c and Mtest.h.

The framework will be written in the C programming language and will provide functions for

Other than this difference, Testing for SAM's Logger module will follow the normal procedures in this document for SAM.


next up previous contents
Next: 7 GUI Testing Up: Test Plan (TP) Rate Previous: 5.7 Regression Testing   Contents