Search

A Study of Test Coverage Adequacy In the Presence of Stubs

By: Errol L. Lloyd, Brian A. Malloy

Abstract

The purpose of implementation-based testing is to gain a measure of confidence in the correctness of the software by providing adequate coverage of the code. One unit of testing in object-oriented software is a class. However, classes use other classes and if class interactions form a cycle of dependencies then, to test a client class that uses an untested supplier class, stubs must be constructed to simulate the correct behavior of the untested supplier class.

Cite as:

Errol L. Lloyd, Brian A. Malloy, “A Study of Test Coverage Adequacy In the Presence of Stubs”, Journal of Object Technology, Volume 4, no. 5 (July 2005), pp. 117-137, doi:10.5381/jot.2005.4.5.a3.

PDF | HTML | DOI | BiBTeX | Tweet this | Post to CiteULike | Share on LinkedIn