3 ms·
Refactoring can impact your unit interface too, and when that happens you'll have to refactor your tests accordingly. What you don't want while refactoring is b
by lelele 15y ago
Refactoring can impact your unit interface too, and when that happens you'll have to refactor your tests accordingly. What you don't want while refactoring is being stuck with your old interfaces.
- ShaunCodeweaver 15y agoExactly. Refactoring is the process of changing code without changing behaviour. If that means you change some tests so be it. There is no rule to say that you can't do this, but many devs seem to fear this.