2 ms·
Can you clarify why you do not consider this TDD?
by majewsky 9y ago
Can you clarify why you do not consider this TDD?
- wolfgke 9y agoI think that if one is meticulous, sk0g is actually right (source: https://en.wikipedia.org/w/index.php?title=Test-driven_development&oldid=790275486#Test-driven_development_cycle https://en.wikipedia.org/w/index.php?title=Test-driven_devel...): In TDD one begins anything (in particular any new feature) with writing a test for it, then one runs all tests to see if something fails and only then starts to write code if necessary until all tests pass.
- sk0g 9y agoIn TDD you only write code if it makes a red light green, so to speak. First you make the test, then you run it. It will obviously fail, and then you implement code that starts passing tests.