DEV Community

Discussion on: Refactoring old code vs Rewriting everything for long-term?

Collapse
 
johannestegner profile image
Johannes

Even if you don't rewrite it, create the tests, testing is great, testing is awesome, you should always write tests! ;D

Collapse
 
anduser96 profile image
Andrei Gatej

Thank you! I will definitely follow your advice.

I’ve heard a lot about testing and its practices, but I’ve never actually written a single test.

Now, because the project I’m working on became pretty complex, I can see how writing tests would make my life easier.