Unit Testing

Test-First Programming

This project is part of the liveProject series Unit Testing with Java, JUnit 5, and IntelliJ IDEA.
intermediate Java • JUnit 5 • Mockito
skills learned
using test-driven development to change existing functionality • writing granular tests for individual requirements • using larger-grain tests to drive the integration of individual components
Max Guernsey
1 week · 10 hours per week · INTERMEDIATE

placing your order...

Don't refresh or navigate away from the page.
try it! first milestone FREE
liveProject liveProjects give you the opportunity to learn new skills by completing real-world challenges in your local development environment. These self-paced projects also come with full liveBook access to select books for 90 days plus permanent access to other select Manning products. $19.99 $29.99 you save: $10 (33%) self-paced learning
FREE domestic shipping on orders of three or more print books
Test-First Programming (liveProject) added to cart
continue shopping
go to cart

Look inside
In this liveProject, you’ll write tests to drive changes in an existing codebase. You’ll analyze new requirements, reconcile them with what is currently documented by your test suite, and use the test-first technique to ensure new changes to your library are all justified, specified, and protected by tests.
This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Max Guernsey, III
Max Guernsey has over twenty years experience in software development. He has worked on a wide range of products and technologies, including C++ class libraries, financial analysis applications, C# and Java backends, and even multiplatform video games. He is an experienced consultant and his “coaching from the keyboard” approach provides hands-on experience to learners in all aspects of modern software development.


This liveProject is for Java developers who want to increase their testing capabilities. To begin this liveProject you will need to be familiar with:

  • Intermediate Java
  • JUnit 5
  • Mockito

you will learn

In this liveProject, you’ll learn to use test-driven development to introduce new design structures to legacy and existing code.

  • Using test-driven development to change existing functionality
  • Writing granular tests for individual requirements
  • Using larger-grain tests to drive the integration of individual components
  • Test-first programming


You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.