3 ms·
For a lot of projects, a small number of carefully chosen integration test cases can give you a large amount of coverage. Unit tests are often a problem for re
by jondubois 8y ago
For a lot of projects, a small number of carefully chosen integration test cases can give you a large amount of coverage. Unit tests are often a problem for refactoring because they discourage you from making necessary changes (since updating unit tests is hard work, it incentivizes developers to limit the scope of the refactoring).
The reason why typed languages are slower to refactor is simply because they just take more time to think about. For example, it takes time to discuss and agree on types with your team members; what they should be called and whether or not we should combine some interfaces into a single interface...