5 ms·
>>> Face the "evil" (whatever that means) side like a man. What? It's not a battle or a problem. Sometimes you need to get something out, or you're writing a l
by dget 16y ago
>>> Face the "evil" (whatever that means) side like a man.
What? It's not a battle or a problem. Sometimes you need to get something out, or you're writing a little throwaway bit of code. Sometimes that involves a tradeoff in future maintainability/pain. It shouldn't justify never testing, but I think it's a valid reason to not religiously follow TDD.
- kscaldef 16y agoBut the article isn't about not religiously following TDD. It's about why "I don’t write any unit tests or specs". Testing isn't discontinuously one or the other. There's a huge, continuous spectrum in between the two extremes.
- dalke 16y agoHe said that integration tests cover the tests he needs and that unit tests don't add much, while being time consuming. And he never said one word about "spec".