Originally posted by Jesper Young:
[/qb]As far as I know, test driven development means that you have people who take the requirements for the application and convert them into test cases to check if the application adheres to the requirements alongside the developers who write the code for the application. You can do this with automatic testing, for example with JUnit, or just by testing manually.
[/QB]
Close. TDD means that the developer himselfs writes a testcase just before he writes to code to make it pass.
- write test
- write production code to make it pass
- refactor
- repeat until finished
It is a very close cycle - typically it shouldn't take longer than a few minutes from test to test.
And yes, it is used in practice - in fact I'd say that it is quite popular.
http://www.testdriven.com/modules/xoopsfaq/ gives a good introduction.
Moving to our Testing forum...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus