5 ms·
I see where you're coming from, totally. I personally have moved to thinking about writing tests concurrently. That is, maybe a bit before, maybe a bit after, b
by MartinCron 12y ago
I see where you're coming from, totally. I personally have moved to thinking about writing tests concurrently. That is, maybe a bit before, maybe a bit after, but as a first-class development effort worthy of "real" developer time and not a half-assed afterthought that is delegated to "lesser" team members.
I don't throw around looks of disgust or shame people, but I insist that in 2014, if you don't have meaningful test automation, you don't have much credibility.
I wrote about all of this thrashing over four years ago and I am kind of heartbroken that the conversation hasn't really moved forward at all. http://martin.cron.com/2009/10/21/oh-no-not-more-of-the-same-tdd-discussion-tedium/ http://martin.cron.com/2009/10/21/oh-no-not-more-of-the-same...
- jshen 12y agoHere's the crux of my argument, quality code is not a function of the number of tests. I tried real TDD 5 years ago and I can assure you code I write today (with less tests) is better than the more tested code I wrote 5 years ago. This means that there is not a clear correlation between number of tests and clean code, yet that is the central premise of the testing religion.
- MartinCron 12y agoRegardless of anything else, shouldn't your code improve with five years additional experience?
- jshen 12y agoThat was my point. Testing is not the primary factor that determines the quality of design. I see it making a marginal difference at best. Edit: Stupid autocorrect.