3 ms·
In the code kata's I have been to, we use the following model to TDD: 1. If (all tests pass), Do one of the following: a. Write a failing test b. Write a
by awa 17y ago
In the code kata's I have been to, we use the following model to TDD:
1. If (all tests pass), Do one of the following:
a. Write a failing test
b. Write a passing test
c. Refactor
d. Start a 2 min discussion
2. Else (If a test is failing)
Fix the code.
I would imagine the above model to TDD would fix many of the complaints in the article.