3 ms·
Not a word for word quote, but I heard this: > How many of you have a code base that if you refactored, test would break? > Most people raise hand and it mad
by marsrover 9y ago
Not a word for word quote, but I heard this:
> How many of you have a code base that if you refactored, test would break?
> Most people raise hand
and it made me realize maybe I'm not as stupid as I think I am.
I've been trying to understand how to create unit tests that allow me to refactor for years, and have been completely unsuccessful. The only way I can achieve this is using the "classicist" viewpoint of creating many "unit test" and only isolating the architecturally significant boundaries. That doesn't make me happy either, though.
But, yeah, good to know (or bad to know) that I'm not the only one that struggles with this.
Back to the video I go.