@jsconf_
  @jsconf_
JSConf | Kill All Mutants! (Introduction to Mutation Testing) - Dave Aronson | JSConf Hawaii 2020 @jsconf_ | Uploaded 4 years ago | Updated 1 day ago
How good are your tests? Would they still pass if the tested code was changed? If so, there may be problems with your code, your tests, or both!

Mutation Testing helps reveal these cases.It makes lots of slightly altered versions, called "mutants", of your functions, and runs your functions' unit tests, using each of its mutants instead. If a mutant makes any test fail, that mutant "dies". "Survivors" imply flaws: your code might not be meaningful enough that a slight mutation would change the behavior, your tests might not be strict enough to catch the difference that the mutation made, or both!

This talk will tell you how to use mutation testing, its benefits, drawbacks, and pitfalls, and how it works under the hood.There will be several examples(in clear pseudocode), and a list of tools for some popular languages(including of course Javascript).

You will come away equipped with a powerful new technique for making sure your tests are strict and your code is meaningful.

Slides: https://www.slideshare.net/slideshow/embed_code/key/aNJFQMKvzrBvO4

JSConf Hawaii will return soon
https://www.jsconfhi.com/
Kill All Mutants! (Introduction to Mutation Testing) - Dave Aronson | JSConf Hawaii 2020How to Fail Successfully by Eleanor Rumsey | JSConf Korea 2022The Art of Code Comments - Sarah Drasner | JSConf Hawaii 2020Look What You MIDI Me Do! - Rachel White | JSConf Hawaii 2020Impactful Accessibility: The Changes that Mean the Most - Lindsey Dragun | JSConf Hawaii 2020Designing Even Larger (JavaScript) Applications - Malte Ubl | JSConf Hawaii 2020Enseando para empoderar: Como a apoyar a software engineers - Rizel Scarlett

Kill All Mutants! (Introduction to Mutation Testing) - Dave Aronson | JSConf Hawaii 2020 @jsconf_