Software Engineering Radio - the podcast for professional software developers cover image

Software Engineering Radio - the podcast for professional software developers

SE Radio 632: Goran Petrovic on Mutation Testing at Google

Sep 5, 2024
55:59
Snipd AI
Goran Petrovic, a Staff Software Engineer at Google, delves into the world of mutation testing. He explains how this technique introduces artificial flaws to assess the effectiveness of test suites, surpassing traditional coverage metrics. Goran discusses Google’s unique infrastructure for mutation testing, detailing its role in enhancing software quality and developer productivity. He highlights innovative strategies like sophisticated caching and suppression heuristics that improve bug detection. Listeners gain insights into adopting this vital practice in engineering teams.
Read more

Podcast summary created with Snipd AI

Quick takeaways

  • Mutation testing enhances software quality by inserting small faults into the code, increasing confidence in test effectiveness and defect detection.
  • Automation in mutation testing has led to more efficient generation and evaluation of tests, resulting in higher engagement among software engineers at Google.

Deep dives

Understanding Mutation Testing

Mutation testing evaluates the effectiveness of test suites by introducing small faults, known as mutants, into the code and measuring whether tests can detect these changes. This approach goes beyond traditional line coverage, as it helps assess the quality of tests by ensuring that they not only run through code but also validate its functionality properly. For instance, if a function's operation is altered from addition to subtraction, effective tests should fail, revealing potential weaknesses in test coverage. Thus, mutation testing fosters confidence in the robustness of test suites and assures that they effectively identify real bugs.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode