What TDD is ACTUALLY Good For
In an earlier article, I tore through some terrible arguments used to advocate for TDD that I see all too often (even by experienced engineers). I said in that piece that I would eventually go through what I think are better arguments for TDD, so that’s what I’m gonna do now.
TDD encourages writing tests for edge cases
Notice that I use the word “encourages” here instead of “ensures” like most advocates do. Here’s a rule of thumb I follow. If I comment out a line of code in your module (assuming...
Read more at theaxolot.wordpress.com