|
|
|
|
|
by sheepmullet
4277 days ago
|
|
"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'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. |
|
Just so long as the outer function is testable and side-effect-free.