Mutation Testing to the Rescue of Your Tests: CodeMash

CodeMash 2020 | Mutation Testing to the Rescue of Your Tests | Nicolas Fränkel
Course info
Level
Beginner
Updated
Feb 7, 2020
Duration
37m
Table of contents
Mutation Testing to the Rescue of Your Tests
Description
Course info
Level
Beginner
Updated
Feb 7, 2020
Duration
37m
Description

Unit testing ensures your production code is relevant. What ensures your testing code is relevant? Come discover mutation testing and make sure your never forget another assert again. In the realm of testing, the code coverage metric is often talked about. However, it doesn't mean that the test has been useful or even that an assert has been coded. Mutation testing is a strategy to make sure that the test code is relevant. In this talk, Nicholas Frankel will explain how code coverage is computed and what its inherent flaw is. Afterwards, he will describe how mutation testing works and how it helps pointing out code that is tested but leave out corner cases. This session also includes a demonstration on PIT, a Java production-grade framework that enables mutation testing.

About the author
About the author

CodeMash is a conference for developers. We eat, drink, and learn about all things code. Do it all in shorts and sandals by a pool.

More from the author
Test-driven Development: CodeMash
Intermediate
50m
Feb 9, 2020
Postman Delivers: CodeMash
Intermediate
49m
Feb 7, 2020
What's New in Xamarin Forms 4.0: CodeMash
Intermediate
53m
Feb 7, 2020
More courses by CodeMash