Summary of January 29, 1999 Class Presentation Unit Testing We covered pages 494- 498 of the textbook. The major considerations involved in white box unit testing were presented and discussed. The steps done in whte box unit testing and their relationship to debugging and repair were explained. The steps are: 1. Code the module based on the detailed design; 2. Review and/or walkthrough the module. If concerns are found, repair the module and return to step 2; 3. Compile to verify legal syntax. Correct and recompile until the module compiles without errors; 4. Develop white box test cases to satisfy completion criterion; 5. Develop needed driver and/or stub software; 6. Run the tests; 7. Compare actual and expected results. Where results do not match, determine why ( debugging). Make needed corrections ( repair process); 8. If repairs were made, return to step 6; 9. Else, white box unit testing is complete.