STARWEST 2024 Concurrent Session : JavaScript Mutation Testing: Improving Confidence in Your Tests


Wednesday, October 4, 2023 - 1:30pm to 2:30pm

JavaScript Mutation Testing: Improving Confidence in Your Tests

JavaScript code requires effective testing strategies to avoid bugs in production. Code coverage metrics alone can be misleading and don't necessarily indicate that the code is actually working as intended. It can be easy to get high code coverage metrics, but not actually test anything meaningfully. To address this problem, this session will explore the concept of JavaScript mutation testing. Mutation testing introduces small changes or "mutations" to the code and then expects tests to fail. This technique helps identify areas of the code that may need improvement and strengthens the tests. Attendees will learn how to implement mutation testing in their own projects and why it can improve confidence in their tests.

State Farm

Brian Batronis has over 30 years of software engineering experience in the insurance industry and has been working with JavaScript for about two decades. Brian has more than 15 years of experience enabling engineering teams with testing. In the past six years, he has also been working with engineering teams doing Salesforce development. Currently, Brain holds the position of Staff Technology Engineer as State Farm. He is passionate about sharing his knowledge and experience with others. He is dedicated to good engineering practices and testing, and is excited to discuss the benefits of JavaScript mutation testing.