Simple play icon Course

Mutation Testing in Java with Pitest

by Esteban Herrera

Traditional unit testing techniques like TDD and code coverage are not enough to write high-quality unit tests. In this course, you'll learn how mutation testing can help you write better tests.

What you'll learn

At the core of mutation testing is a thorough knowledge of creating a test suite that you can trust. In this course, Mutation Testing in Java with Pitest, you'll learn how to evaluate your unit tests and improve them using Pitest. First, you’ll understand what mutation testing is and why it's needed. Next, you'll learn how to use Pitest to introduce small changes to your program and see if your unit tests can detect it. Finally, you'll discover how the results of mutation testing can be analyzed to discover bad tests. When you're finished with this course, you'll have a foundational knowledge of mutation testing that will help you as you move forward to test your programs in a better way.

Table of contents

About the author

Esteban Herrera has more than fifteen years of experience in the software development industry. He has worked in many roles and projects, but mostly architecting and developing enterprise systems with Java and Javascript. Nowadays, he spends all of his time learning new things, writing articles, teaching programming, and enjoying his kids.

Ready to upskill? Get started