Hacker News new | ask | show | jobs
by Isn0gud 301 days ago
And then each time you refactor your code, your work doubled as you now also need to refactor your tests.
1 comments

If your tests are testing the structure of your code, then this is true. But if you test for functionality/features of your API then you can freely refactor below that layer of abstraction.