---
title: "What is mutation testing?"
url: https://daily.dev/posts/what-is-mutation-testing--kyhatcxk1
source_url: https://circleci.com/blog/what-is-mutation-testing
type: article
source: "CircleCI"
published: 2026-06-25T23:26:09.835Z
updated: 2026-06-26T04:20:07.650Z
tags: ["testing", "cicd", "mutation-testing"]
reading_time: 18
upvotes: 1
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# What is mutation testing?

**[CircleCI](https://daily.dev/sources/circle)** · 18 min read · 1 upvotes · 1 comments

## Summary

Mutation testing measures test suite quality by deliberately introducing small code changes (mutations) and checking whether existing tests catch them. Unlike code coverage, which only tracks which lines ran, mutation testing reveals whether assertions would actually detect a defect. The process generates mutants via operators like relational replacements or boolean flips, runs the test suite against each, and reports a mutation score based on how many were killed. A practical JavaScript example using Stryker and Mocha shows how 100% line coverage can still leave two surviving mutants. The post covers mutation states (killed, survived, equivalent, timeout), common mutation operators, language-specific tools (Stryker, PIT, mutmut, Gremlins), and CI/CD integration strategies including scoped diff-mode runs, parallelization, scheduled full runs, and threshold-based build failures. Limitations include high compute cost, unavoidable equivalent mutants, and the fact that 100% mutation score doesn't guarantee correctness.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://circleci.com/blog/what-is-mutation-testing>

## Community discussion

Top comments from developers on daily.dev.

**@theacademe** · 0 upvotes

> Ahh, I remember Jester, then Jumble! Mutation testing is useful, but only if you have sufficient positive and negative testing already and adequate coverage. Also, make sure you pick a framework for performance - mutation testing can increase time exponentially.

## Similar posts on daily.dev

- [Critiquing tests](https://daily.dev/posts/critiquing-tests-wycci2evo) · ploeh blog · 2 upvotes · 0 comments
- [On getting started with mutation testing](https://daily.dev/posts/on-getting-started-with-mutation-testing-jhwyrawup) · On Test Automation · 0 upvotes · 0 comments
- [How Mutation Testing Exposes the Truth \(PHP 2026 Edition\)](https://daily.dev/posts/how-mutation-testing-exposes-the-truth-php-2026-edition--qjofaye9n) · CodeCraft Diary · 0 upvotes · 0 comments
- [Mutation testing - not just for unit tests](https://daily.dev/posts/mutation-testing---not-just-for-unit-tests-hapyr2pq3) · On Test Automation · 4 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#cicd](https://daily.dev/tags/cicd), [#mutation-testing](https://daily.dev/tags/mutation-testing)

[View this post on daily.dev](https://daily.dev/posts/what-is-mutation-testing--kyhatcxk1)
