Through a Glass, Darkly: Test-First Approaches: Are They Harmful?

Loading...
Thumbnail Image
File version
Author(s)
Glass, Robert L
Griffith University Author(s)
Primary Supervisor
Other Supervisors
Editor(s)
Date
2010
Size

26000 bytes

File type(s)

application/pdf

Location
License
Abstract

I’ve always felt sort of ambivalent about “test-first approaches” to building software, a big thrust in the Agile programming movement. My general feeling was that it seemed superficially like a good thing to ask for, but because I faintly envisioned some flaws in the approach, I bit my lip and kept silent on the matter. But recently, a fan of my book,Facts and Fallacies of Software Engineering, who liked what he saw there and was contemplating using it as the basis for the team of software folk he had recently been put in charge of, wrote to me to ask how I felt about that “test-driven” idea. And for the first time, I forced myself to come to grips in depth with what I thought. Here’s what I said to him. Some of it surprised me as I opened my electronic “mouth” and listened to what flowed out of me! Regarding “test-first” approaches, I am slightly negative on them. The fundamental idea is good. But one of the things I’ve always been concerned about with testing is the possibility that the software is written to make the test cases succeed, rather than to achieve its required functionality, do its job. That is, the software is “trained” to pass the test cases more than to meet its requirements. And, of course, if that happens, then the test cases are a negative influence, because lots of faults of various kinds, especially those regarding meeting requirements, may slip through the resulting testing sieve.

Journal Title

Information Systems Management

Conference Title
Book Title
Edition
Volume

27

Issue

4

Thesis Type
Degree Program
School
Publisher link
Patent number
Funder(s)
Grant identifier(s)
Rights Statement
Rights Statement

© 2010 Taylor & Francis. This is an electronic version of an article published in Information Systems Management Vol. 27(4), 2010, pp. 360-361. Information Systems Management is available online at: http://www.informaworld.com with the open URL of your article.

Item Access Status
Note
Access the data
Related item(s)
Subject

Information systems

Information systems not elsewhere classified

Library and information studies

Persistent link to this record
Citation
Collections