Structured Testing



Definition

Structured testing is a white-box unit testing technique for identifying test cases that identify defects involving the logic of a functional unit of software.

Discussion

Structured testing is the traditional primary testing technique for procedural units of software and for logically complex methods of object-oriented software. Structured testing guarantees branch coverage, and thus also guarantees statement coverage.

Objectives

The typical objectives of structured testing are to:

Preconditions

Structured testing can typically begin when the following preconditions hold:

Completion Criteria

Structured testing is typically complete if the following postconditions hold:

Steps

During structured testing, the unit testers typically perform the following steps:

Work Products

Structured testing typically results in the following work products:

Limitations

Structured testing is typically subject to the following limitations:

Guidelines