Tests are an essential component in your arsenal to tackle technical debt and improve legacy code. In this video, review their importance and learn how they help you.
- [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 the systems I inherit have test suites …
AuthorM. Scott Ford
- Assessing the technical debt
- Creating and running a test suite
- Handling failing tests
- Updating dependencies and tools
- Paying down technical debt
- Remaining test driven
- Monitoring code quality
Skill Level Intermediate
Agile Software Development: Code Qualitywith M. Scott Ford1h 40m Intermediate
Agile Software Development: Refactoringwith Richard Kasperowski1h 31m Intermediate
1. Getting Started: Review the Technical Debt
2. Fence in the Technical Debt
3. Improve Your Tools
4. Pay Down Technical Debt
5. Keep Technical Debt at Bay
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.