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
- Displaying all test output to the screen or to standard output
- Keeping track of how many tests have been run in the test
suite
- Keeping track of how many of these have failed
- Keeping track of how many of these have passed
Other than this difference, Testing for SAM's Logger module will follow the
normal procedures in this document for SAM.
Next: 7 GUI Testing
Up: Test Plan (TP) Rate
Previous: 5.7 Regression Testing
  Contents