London software testing news UK

Testing and development practices

Posted in Acceptance testing by testing in London on August 15, 2008

From SD Times

The key process innovation of unit testing is that it puts quality front and centre in the development process, rather than leaving it as someone else’s job. The intensely detail-oriented nature of programming makes it all too easy for developers to accomplish a difficult sub-task and wrongly conclude they have finished their work. Without automated testing, developers will often test merely a single path through the code, or even make a change without testing because it “must be” the problem. After a short learning curve, unit testing is widely perceived as speeding up programmer productivity by increasing turnaround and confidence in one’s changes.

Unit testing is closely associated with an emphasis on writing the minimal amount of code needed to satisfy the task or test at hand, in direct contrast to the emphasis on program structure that prevailed in the 1990s. The phrase “You Ain’t Gonna Need It” (YAGNI) is associated with the emphasis on functioning code and was the highest-rated practice in my poll. The triumph of YAGNI is in many ways a vindication of Microsoft’s long-held philosophy that code, not bubbles and arrows, is what’s most important about a program.

Improving software testing

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: