Re:TDD Doesn't Force Good Design
by MoreQARespect on Tuesday September 05, 2023 @05:00AM
(#37389438)
I didnt say it was specific to testing. Nor did I say it was never appropriate. Nonetheless the pursuit of "unit testability" is probably most often why it's done.
Call me crazy but I'm more of the opinion that you should default to adapting your tests to your code and not your code to your tests.
Call me crazy but I'm more of the opinion that you should default to adapting your tests to your code and not your code to your tests.