logoalt Hacker News

cagztoday at 5:39 PM1 replyview on HN

My workflow is: - Write the test first, confirm it fails - Write the minimum code to make that test pass - Confirm it is green


Replies

t-writescodetoday at 6:48 PM

TDD like this is a very good system for a lot of things, especially brownfield development - gotta make sure you understand the error space before you know you’ve fixed the error. :D