3 ms·
I would absolutely trust a non-deterministic system to refactor a production system... if that system had a robust set of unit tests and I was willing to commit
by simonw 3y ago
I would absolutely trust a non-deterministic system to refactor a production system... if that system had a robust set of unit tests and I was willing to commit to reviewing the proposed changes.
Without thorough automated tests I wouldn't trust myself to be able to effectively review the code.
- hinkley 3y agoSome refactoring is at the block level, and so would generally not affect unit tests. But most refactoring is at a functional level, so only the integration and functional tests are ever safe, and even then sometimes not.