4 ms·
TDD has two general meanings. The original, and strictest, says that each test is written and part of the test suite before writing any feature code. It's also
by dalke 13y ago
TDD has two general meanings. The original, and strictest, says that each test is written and part of the test suite before writing any feature code.
It's also more loosely taken to mean anything which isn't test-last. The underlying idea of many, though wrong, is that in the old days, people wrote all their code before testing it, and in this modern era we know developers should write automated tests during the development phase.
However, I think it's unwise to mix those two terms. What you describe - running some code in order to verify new features during development - has a long history independent of TDD, as your own TAP example, dating from 1987, points out.