Letters to the Editors: An alternative development testing method



Email    print   
February 15, 2010 —  Andrew Binstock again is right on, but actually hits only the tip of agile's test-first inadequacies iceberg ("Driving development with functional tests"). While typical tiny test-first unit tests beat traditional test-last-or-never, they indeed are likely to miss important functionality that Binstock's bigger tests can demonstrate.

However, both methods are subject to significant additional weaknesses that neither realizes. Despite writing the tests first, they are likely the same as tests they'd write after writing the code, because developers envision the code they expect to write and then test that it works as envisioned, not that considering if they've written the correct code.

Moreover, the set of tests usually overlooks all sorts of conditions, partly because developers' orientation mistakenly assumes that one or two tests suffice, and partly because even professional testers seldom have any idea how many test conditions they're missing. For example, a two-character field has 65,536 possible inputs, which even when distilled easily may represent over 100 equivalence classes, each of which takes separate tests.

Since long before Kent Beck adopted the phrase, my Proactive Testing methodology has included "letting testing drive development" in truly agile, non-busywork ways that help developers avoid many of the defects that, as Binstock points out, are still made with typical test-first techniques.




Related Search Term(s): agile, testing


Share this link: http://sdt.bz/34129
 
Most Read Latest News Blog Resources

Add comment


Name*
Email*  
Country     


  • Comment
Loading




close
NEXT ARTICLE
Finding the right tool for the agile job
Experts emphasize that tools should bolster the agile process above all else Read More...
 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
FEBRUARY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
02/09/2012 02:16 PM EST

Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
02/07/2012 11:57 AM EST

RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
02/04/2012 01:57 PM EST

GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
02/03/2012 12:17 PM EST

Facebook claims hacker cred
Facebook's SEC S-1 filing form includes a short essay on the Hacker Way by Mark Zuckerberg himself.
02/02/2012 08:26 AM EST

Ryan Dahl steps down
Ryan Dahl, creator of Node.js, steps back from his position as gatekeeper for the project.
02/01/2012 04:58 PM EST

 
Events calendar tab
2/13/2012 to 2/16/2012
Santa Clara
TechWeb

2/26/2012 to 2/29/2012
San Francisco
BZ Media

2/27/2012 to 3/2/2012
San Francisco
RSA

3/4/2012 to 3/7/2012
Las Vegas
IBM Tivoli

3/5/2012 to 3/9/2012
San Francisco
TechWeb