Module 2: Behavioral Testing

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

Module 2: Behavioral Testing and Traceability

This module builds on the introductory experiences provided by Module 1 and develops a more detailed understanding of behavioral or specification-based testing, particularly as it relates to component-based or object-oriented software. This module is targeted for use by sophomore-level students in the Virginia Tech Course CS 2704: Object-Oriented Software Design and Construction (next in the core sequence following CS2), and may also be used by other courses such as CS 3304: Comparative Languages. Systematic approaches to behavioral and specification-based testing will be presented, including flowgraph-based testing methods [8], equivalence partitioning, cause-effect graphing, and finite state machine-based methods. The content will also include basic test driver and test harness construction, the difference between unit, integration, and system testing, and the concept of a traceability matrix. An extended checklist designed for sophomore-level projects will be provided. After completing this module, a student will be able to design a realistic set of test cases for an object-oriented class comparable to those used in sophomore-level programming assignments.

 

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