DEV Community

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

Collapse
 
franzsee profile image
Franz Allan Valencia See

I highly recommend reading Michael Feather’s Working Effectively with Legacy Code. It defines “legacy code” as code without test, and teaches how to go about modifying a 10,000 line JSP code that you inherited - safely!

Anybody who’s inherited a 10yr old project would definitely find that book indispensable!

Collapse
 
anwar_nairi profile image
Anwar

Thank you for sharing! If folks are not into JSP, does this book still remain instructive?

Collapse
 
mrlarson2007 profile image
Michael Larson • Edited

Yes! It gives so many pratical suggestions and range of options depending on how much time you have. This is a must read for anyone that needs to maintain a legacy system.

Collapse
 
eljayadobe profile image
Eljay-Adobe

Yes, the book is about the general concepts, not a specific language.

It discusses several languages, in passing (C#, C++, Java, HTML & JavaScript, and others).