Complete Coverage Is Expensive

In some of the other discussion on UnitTestsReconsidered, SunirShah claims that UnitTests become mud. Consider the following points, stolen from CodeComplete, chapter 25:

References

Curtis, Bill, H. Krasner, and N. Iscoe. "A Field Study of the Software Design Process for Large Systems." Communications of the ACM 31, no. 11 (November): 1268-87. (1988)

Jones, Capers. Programming Productivity. New York: McGraw-Hill. (1986)

McConnell, Steve. Code Complete. Redmond, WA: Microsoft Press. p.612 (1993)

Weiland, Richard J. The Programmer's Craft: Program Construction Computer Architecture, and Data Management. Reston, VA: Reston Publishing. (1983)


By the way, not testing is also expensive. There are two BalancingForces at play, and they resolve at some point in the middle. -- SunirShah.

See also TestEverythingThatCouldPossiblyBreak - I don't think it attempts to define that point, but it has more debate on exactly where to put it. -- DanBarlow


EditText of this page (last edited January 7, 2003) or FindPage with title or text search