|
|
|
|
|
by akkartik
4277 days ago
|
|
I think the claim is that if you don't start out writing the functions you don't start out writing the tests, and so your tests are doomed to fall behind right from the outset. I'm not fanatical about TDD, but in my experience the trajectory of a design changes hugely based on whether or not it had tests from the start. (I loved your comment above. Just adding some food for my own thought.) |
|
I'm still not sold on the benefits of fine grained unit tests as compared to having more, and better, functional tests.
If the OPs 1k+ methods had a few hundred functional tests then it should be a fairly simple matter to re-factor.
In "the old days" when I wrote code from a functional spec the spec had a list of functional tests. It was usually pretty straightforward to take that list and automate it.