Y
Hacker News
new
|
ask
|
show
|
jobs
by
what
140 days ago
Your unit tests shouldn’t break from a refactor, unless you’re testing the implementation instead of the behavior, which would be dumb.
1 comments
apothegm
140 days ago
A refactor often changes boundaries. Which breaks unit tests. Its integration tests that are truly agnostic to implementation.
link