Hot answers tagged tdd
6
The Three Laws of TDD
You are not allowed to write any production code until you have
first written a failing unit test.
You are not allowed to write more of a unit test than is sufficient
to fail—and not compiling is failing.
You are not allowed to write more production code that is sufficient
to pass the currently failing unit test.
...
1
I hate such persons that says "This is not a Scrum", when they were asked "Hey, we have a scrum without stand-ups, so how could we do [something]".
I am going be such a nasty person when I say "That is not a TDD what you have described". The TDD has some strict rules, but is it really a big reason to follow them all? I think – no.
Nutel, the idea you ...
1
I think Tom's answer explains why TDD doesn't work well with reviewing unit tests ahead of time; unit tests become part of the implementation process in TDD, and are part of a tight cycle between testing and implementation. In other words, you can't write unit tests before coding if you are using TDD.
Reviewing Cucumber-style acceptance tests, however, ...
Only top voted, non community-wiki answers of a minimum length are eligible