Chapter 5: Preventing Bugs with Unit Testing

 < Day Day Up > 



Never stop testing, and your advertising will never stop improving.

—David Ogilvy, Confessions of an Advertising Man

Overview

Ogilvy made quite an impact on the advertising world (if you’re old enough, you may remember the Maxwell House percolator in time with the music, or the guy with the eye patch wearing Hathaway shirts), but if you change “advertising” to “software” his dictum applies equally well to development. Developers are recognizing that testing is not something to be left to other people, or to be done only at the end of a project. By integrating testing directly into your development process, you can produce more robust and error-free code. In this chapter, I’ll show you how to do that with unit testing. I’ll also introduce you to the basics of two related subjects: test-driven development and refactoring.



 < Day Day Up > 



Coder to Developer. Tools and Strategies for Delivering Your Software
Coder to Developer: Tools and Strategies for Delivering Your Software
ISBN: 078214327X
EAN: 2147483647
Year: 2003
Pages: 118

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net