Mutation Testing in Java with Pitest

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.
Course info
Level
Intermediate
Updated
Aug 30, 2018
Duration
2h 1m
Table of contents
Description
Course info
Level
Intermediate
Updated
Aug 30, 2018
Duration
2h 1m
Description

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.

About the author
About the author

Esteban Herrera has more than twelve years of experience in the software development industry. Having worked in many roles and projects, he has found his passion in programming with Java and JavaScript. Nowadays, he spends all his time learning new things, writing articles, teaching programming, and enjoying his kids.

More from the author
JMeter: Getting Started
Beginner
2h 5m
Apr 29, 2019
Design Patterns in Java: The Big Picture
Beginner
1h 49m
Dec 27, 2018
More courses by Esteban Herrera
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music) Hi everyone. My name is Esteban Herrera, and welcome to my course, Mutation Testing in Java with Pitest. I have been working with Java for more than 10 years. I love the language and teaching all I know about it. Do you know that traditional unique testing practices like TDD and code coverage are not enough to create a test suite that you can fully trust? Only mutation testing can help you know how well you are testing your application. In this course, you are going to learn how to use Pitest, one of the most popular mutation testing tools for Java. Some of the major topics that we will cover include: how mutation testing helps you write better tests, how Pitest works, and how to detect and improve bad unit tests. By the end of this course, you'll know how to measure and improve the quality of your unit tests. Before beginning the course, you should be familiar with Java version 8 or above, Maven, JUnit versions 4 or 5, and the concept of code coverage. I hope you'll join me on this journey to learn mutation testing with the course, Mutation Testing in Java with Pitest at Pluralsight.