DEV Community 👩‍💻👨‍💻

Discussion on: Add unit tests on a project already in progress

hamatti profile image
Juha-Matti Santala

This is really good point Michael! Testing and documentation are both crucial parts of software development, not just something you add if there's time. Unfortunately many managers only measure things in short-term and either don't care or don't know how to measure the long tail of work that bad code and documentation cause.

Sometimes lack of tests makes it super slow to add new code because you're worried it will break things. Sometimes lack of documentation wastes days of developer time that could have been avoided by minutes or hours of work up ahead.

Thread Thread
khalyomede profile image
Khalyomede Author

Speaking the truth here, I cannot count how many example I have of untested code that produce side effects over time...