Comment by what
1 month 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 month ago
Your unit tests shouldn’t break from a refactor, unless you’re testing the implementation instead of the behavior, which would be dumb.
A refactor often changes boundaries. Which breaks unit tests. Its integration tests that are truly agnostic to implementation.