Module 2: Structural Testing

This is the third of a series of four on-line educational modules on software testing.

Module 3: Structural Testing and Assessing Effectiveness

This module builds on a student's growing level of programming maturity by discussing more sophisticated testing techniques. This module is targeted for use in the Virginia Tech Course CS 2604: Data Structures and File Management (next in the core sequence following CS 2704), and may also be used by other courses, including CS 3204: Operating Systems and CS 3704: Intermediate Software Design and Engineering. Module 3 serves as an in-depth presentation of structural testing techniques, including methods of assessing thoroughness and effectiveness. Both control flow and data flow coverage criteria will be discussed, including practical strategies that are applicable by students, such as basis path coverage and loop testing. A white-box testing checklist will be presented. After completing this module, a student will be able to design a set of test cases providing basis path coverage for simple procedures, understand when black-box test suites fail to provide basis path coverage, augment black-box test suites created using the techniques from Module 2 with additional white-box test cases, and judge the thoroughness of a test suite based on the technique used to create it.

 

copyright © 2003 Virginia Tech, ALL RIGHTS RESERVED
Last modified: May 19, 2003, 3:59:26 pm EDT, by Stephen H. Edwards <edwards@cs.vt.edu>