Testing Testing 123 (test driven development)

XP (eXtreme Programming) advocates Test Driven Development, where test cases are written before the code. Radical, huh?

If you think about it, it makes complete sense. Assuming you are planning to write test cases anyway, it’s no more effort than writing them later. And the big advantage of writing them first?

If you know how you’re going to test it, you write the code to pass first time! Simple really. Simple but inspired.

See also:
10 Key Principles of Agile Development
Principle #9: Testing is integrated throughout the lifecycle

2 Responses to “Testing Testing 123 (test driven development)”

  1. In test driven testing test cases are written before the code. But how it will be tested before writing code.

  2. David Spells says:

    What are the best books and / or seminars that will help me and perhaps a team learn TDD?

Leave a Reply

What is 4 + 10 ?
Please leave these two fields as-is:
Please do this simple sum so I know you are human:)

There are 101 ways to approach anything.
To find the best way, sometimes you need expert help

What People Say

“Kelly is an Agile heavy-weight. He came in to assess my multi-million $ Agile development program which wasn’t delivering the right throughput. He interviewed most of the team and made some key recommendations that, when implemented, showed immediate results. I couldn’t ask for more than that except he’s a really nice guy as well.”

DAN PULHAM, DIGITAL DIRECTOR
TELSTRA

CONTACT US

To explore how we can help you, please get in touch