Software Design: Tidy First? • 950 implied HN points • 20 Jan 25
- It's important to write more tests after refactoring. This helps improve accuracy and confidence in your code.
- When you break down a big piece of code into smaller parts, consider writing smaller tests for those parts, especially if you plan to reuse them.
- You might face a dilemma on whether to keep redundant tests after refactoring. It's good to regularly review tests to make sure you have the best approach for checking your code.