3 ms·
How do you refactor code and ensure you haven't broken something? How do you jump into a new project and make changes without breaking something? It isn't abou
by latchkey 4y ago
How do you refactor code and ensure you haven't broken something? How do you jump into a new project and make changes without breaking something?
It isn't about ensuring tests are accurate, it isn't about 100% coverage.
It is about being able to make changes to a running system over time and know that you're not breaking something 10 levels deep.
- PuppyKhan 4y agoIf the tests are not accurate, then how do you accomplish any of the other points you are trying to make? The same manager I mention before getting promoted, we were tasked with taking over another existing project where every test was inaccurate. I can guarantee you from experience that all your points fail when the tests are inaccurate. It actually sounds like you are agreeing with my conclusion, with the exception of thinking bad tests are just fine.