Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

Test Driven Development

By Marcus Baker
2004-01-25


Test Driven Development

Imagine you are in an interview. You are at the stage where the interviewer has failed to notice the gaps in your CV and is actually forced to ask you some questions. Not having prepared, their expression drains they are forced to think up one on the spot. They can only come up with...
"What are the stages in developing software?".
Pah, easy!
"Design, Code, Test and Debug."
A quick handshake later and you know you are in the running. You also know that in the rush of a real project, no one actually does this stuff, but that's the correct answer and you've got to play the game after all. Didn't even have to think about that one.

Suppose we did think about it.

Not just made a cursory effort to do it, but actually examine if it is really the right thing to do. Some people have done exactly this and one of those people is Kent Beck. Kent Beck is co-founder, along with Ward Cunningham, of eXtreme Programming. His latest manifesto, "Test Driven Development", is a further distillation of the coding practices of XP. Like most of Kent's writings, this book is direct and controversal. Like most of Kent's ideas, it's based on front line experience, is simple and it works.

You start by writing a test.

Tutorial Pages:
» Test Driven Development
» Writing a Test
» A Simple Test Case
» Our first test (at last)
» Minimal Code
» Design with working tests
» Tests as documentation
» Test then Code then Design


 | Bookmark
Related Tutorials:
» Zend Framework Tutorial
» Port Scanning and Service Status Checking in PHP
» Web Database Access from Desktop Applications
» CubeCart 3.0 Installation and Configuration
» PHP Site Search Made Easy
» Installing and Configuring Drupal 6.1

Ask A Question
characters left.