Test Driven Development? You've got to be kidding me...
writemoretests.com
Test Driven Development? You've got to be kidding me...
1–10 of 51 posts
Re: Test Driven Development? You've got to be kidding me...
#2Being dogmatic and using One True Approach for everything is not good, but if we were to advance ourselves, we need to be able to define what is good and what is bad specifically. Then, fruitful discussion can follows.
Blanket accusation like this would not help no one and is just crying for attention, IMO.
Re: Test Driven Development? You've got to be kidding me...
#3It's first and foremost a design tool. Secondary to that it tests functionality of your code.
TDD leads to better designed software. Period. No it's not the only way to design software, nor should it be the only tool used when designing the software you're writing, but it will show problems with any design you've got and help you fix them.
Re: Test Driven Development? You've got to be kidding me...
#4I am hoping for a more detailed discussions on which case writing test first hinders productivity. Being dogmatic and using One True Approach for everything is not good, but if we were to advance ourselves, we need to be able to define what is good and what is bad specifically. Then, fruitful discussion can follows. Blanket accusation like this would not help no one and is just crying for attention, IMO.
Re: Test Driven Development? You've got to be kidding me...
#5I am hoping for a more detailed discussions on which case writing test first hinders productivity. Being dogmatic and using One True Approach for everything is not good, but if we were to advance ourselves, we need to be able to define what is good and what is bad specifically. Then, fruitful discussion can follows. Blanket accusation like this would not help no one and is just crying for attention, IMO.
Writing tests first is great for - for example - writing a regression test for a bug you've found. Or for adding a small piece of well-defined functionality to an existing interface.
But that's writing tests first in a specific instance, not Test-Driven Development, which is ALWAYS writing tests first.
Writing tests first falls down as soon as your ideas on what needs to be implemented may change as implementation progresses. You find yourself reluctant to change your interface or implementation because dang-it, the test said it should work that way, and now you don't want to change the test. Or you wrote a test for a simple piece of sub-functionality, and then it turns out that relied on an architecture you don't want to use and ...
And if you're not a senior dev with a bucket load of experience, you're unlikely at that point to want to go back and change things.
Re: Test Driven Development? You've got to be kidding me...
#6Re: Test Driven Development? You've got to be kidding me...
#7Nothing but flame-bait here. The OP obviously doesn't understand Test Driven Development or why people swear by it. It's first and foremost a design tool. Secondary to that it tests functionality of your code. TDD leads to better designed software. Period. No it's not the only way to design software, nor should it be the only tool used when designing the software you're writing, but it will show problems with any des…
Re: Test Driven Development? You've got to be kidding me...
#8Nothing but flame-bait here. The OP obviously doesn't understand Test Driven Development or why people swear by it. It's first and foremost a design tool. Secondary to that it tests functionality of your code. TDD leads to better designed software. Period. No it's not the only way to design software, nor should it be the only tool used when designing the software you're writing, but it will show problems with any des…
If you're going to call it flame-bait, could you expand on some of your ideas or address some of the points made in the article?
Re: Test Driven Development? You've got to be kidding me...
#9I am hoping for a more detailed discussions on which case writing test first hinders productivity. Being dogmatic and using One True Approach for everything is not good, but if we were to advance ourselves, we need to be able to define what is good and what is bad specifically. Then, fruitful discussion can follows. Blanket accusation like this would not help no one and is just crying for attention, IMO.
The author won't convince any TDD disciples to change their ways by attacking them. A reasoned post that objectively weights the pros and cons might. But even if the author could affect change, is it really the case that no-one ever would benefit from TDD? It might certainly be used as a crutch by some developers, but if it helps them develop better software, what's the harm? That's their issue to deal with, not anyone else's.
The goal is to write good programs. There's many paths there, and TDD, anti-TDD or part time testing whenever you feel like it all are viable. If TDD can help abstract away a level of thought with regards to testing, and helps speed up the process and helps someone write better code, then that's great.
Re: Test Driven Development? You've got to be kidding me...
#10:) Flame-bait. Seems that Hacker News became a place for such things. Blog where this article was written was made so it can post there while hiding it's identity. If you want to make fun of 'agile consultants' go ahead, but stick with it with your name.