Black box and white box testing

From CSTER Wiki

Jump to: navigation, search

Black and White Box Testing

"Students are introduced to the concepts of black and white box testing" via a hands-on exercise. Students work in small teams (two or three) to develop a comprehensive set of unit tests for a given module. Some teams are given only the interface to the module, while others are given the interface and the code. Algorithms and internal module design may vary. Upon completion of the exercise, a team representative presents the team’s tests and the justification for them. The instructor then leads the class in a comparison of the different sets of tests developed and expands on black and white box testing concepts."

"The order of lecture and exercise are reversed from what is typical; i.e., the exercise comes first. The idea is to allow the students to experience the difference between black and white box testing without any preconceived notions of what they are "supposed to do." Also, note that this module is incomplete"

Authors
Susan Mitchell

Prerequisites
Two semesters of programming for computer science majors (e.g., Computer Science I and Computer Science II).