Test-Driven Development Bypasses Your Brain
stoneship.org
Test-Driven Development Bypasses Your Brain
1–10 of 67 posts
Re: Test-Driven Development Bypasses Your Brain
#2Re: Test-Driven Development Bypasses Your Brain
#3http://www.infoq.com/news/2009/03/TDD-Improves-Quality
http://research.microsoft.com/en-us/groups/ese/nagappan_tdd....
Re: Test-Driven Development Bypasses Your Brain
#4Nonetheless, it's still useful! You can still write TD code and use your brain - it is only slightly easier to be lazy (and specifically, lazy in a way you're not supposed to care about, yet.)
In the end, production use crash reports will reveal any bugs that matter in the system (if any), and you can write new tests for those extra cases and make the code pass again. Combined with the rest of Agile (sorry,) i.e. fast release cycles and so on, this isn't a road block.
Re: Test-Driven Development Bypasses Your Brain
#5(This isn't to say that unit tests are bad, but rather writing tests first may not benefit all people)
Re: Test-Driven Development Bypasses Your Brain
#6Re: Test-Driven Development Bypasses Your Brain
#7If your goal is to fix this behavior, go for the root causes. TDD isn't a root cause for this particular problem.
Re: Test-Driven Development Bypasses Your Brain
#8I don't recall ever reading that just because you have tests, you should no longer understand the processes by which your code functions. Was this something that they've seen happen, or experienced personally?
Re: Test-Driven Development Bypasses Your Brain
#9Maybe it's because I'd been coding for years before I ever tried TDD, but when a test fails, I logically debug the code the same way I would if I wasn't using TDD.
As far as I'm concerned having tests just flags possible errors much quicker, and also gives me more piece of mind that my code isn't gonna be riddled with hidden bugs.
Re: Test-Driven Development Bypasses Your Brain
#10Personally I completely disagree with this, I've never found myself randomly changing code in a desperate attempt to get a test to pass. Maybe it's because I'd been coding for years before I ever tried TDD, but when a test fails, I logically debug the code the same way I would if I wasn't using TDD. As far as I'm concerned having tests just flags possible errors much quicker, and also gives me more piece of mind that…