From the course: Agile Software Development: Dealing with Legacy Code and Technical Debt

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Technical debt grows without tests

Technical debt grows without tests

From the course: Agile Software Development: Dealing with Legacy Code and Technical Debt

Start my 1-month free trial

Technical debt grows without tests

- [Instructor] Automated tests are vitally important for making improvements to our code basis. They act as a welcomed safety net, allowing us to make the changes that are needed to reduce technical debt without having to worry as much about unintended consequences. When we get started on a project that we've inherited, before we try to make any improvements ourselves, we have to evaluate the quality of the system's test suite. This evaluation is likely to uncover several different problems. In an ideal world, every project that we inherit will have a healthy test suite which is easy to run, has only tests that pass, and has a code coverage metric that is sufficiently high for the parts of the application that need to change. However, I frequently encounter systems that have no test suite, have a test suite with no clear way of running it, or have a test suite where some or all of the tests are failing. And rarely do…

Contents