Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Course

Unit Testing Legacy Code in Java SE 8

Untested code can be difficult and risky to maintain. This course will teach you techniques to get existing code under test as you work on it, without risky rewrites or redesigns.

Intermediate
2h 8m
(62)

Created by Jim Weaver

Last Updated Mar 02, 2022

Course Thumbnail
  • Course

Unit Testing Legacy Code in Java SE 8

Untested code can be difficult and risky to maintain. This course will teach you techniques to get existing code under test as you work on it, without risky rewrites or redesigns.

Intermediate
2h 8m
(62)

Created by Jim Weaver

Last Updated Mar 02, 2022

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

One of the biggest challenges developers encounter in their career is having to maintain an existing codebase with little or no tests and unclear, tangled code. In this course, Unit Testing Legacy Code in Java, you will learn techniques to get a legacy and untested Java application, a small but realistic Java application to provide services to a hospital emergency room, under test incrementally as you work on it. First, you will learn about different types of tests and test doubles that can be applied to create a safety net for the application gradually. Next, you will discover crucial dependency-breaking techniques that will allow you to create seams to provide test doubles without disrupting the code. Finally, you will explore ways to deal with hard to understand code, improving the clarity as you work, and techniques to leverage new, tested code from hard to understand code. When you are finished with this course, you will have the knowledge to efficiently handle untested systems you’ve become responsible for.

Unit Testing Legacy Code in Java SE 8
Intermediate
2h 8m
(62)
Table of contents

About the author
Jim Weaver - Pluralsight course - Unit Testing Legacy Code in Java SE 8
Jim Weaver
21 courses 4.7 author rating 1911 ratings

Jim Weaver is a software developer and mentor with a love for small teams, light-weight processes, and close interaction with customers.

2025 Forrester Wave™ names Pluralsight as a Leader among tech skills dev platforms

See how our offering and strategy stack up.

forrester wave report