go-mutesting review
A configurable open-source CLI for measuring whether Go tests catch code changes.
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
go-mutesting is an open-source command-line framework for mutation testing in Go. It generates changes in Go source code, runs package test suites against those mutations, and reports whether each mutation was killed or survived. The resulting mutation score helps teams assess whether their tests detect meaningful implementation changes. It suits Go developers who want configurable source-level analysis across files, directories, packages, or recursive package patterns.
Its strongest advantage is scope control. Teams can select a file, directory, or package target, then use built-in mutators or add custom mutators for more specific testing needs. The framework supports branch mutations such as case, if, and else; expression mutations including comparison and removal; statement removal; and Cosmos SDK mutation types for arithmetic and comparison. External execution commands and blacklist handling provide additional control when a mutation produces a false positive or requires a different test command.
The product is focused rather than broad: its supported language is Go, and its testing model is based on Go package tests. It is also a command-line project, so it fits teams that are comfortable incorporating source mutation into their development workflows rather than looking for a hosted testing service. Choose go-mutesting when configurable Go mutation testing, survivor reporting, and custom mutation behavior matter most. Teams needing mutation testing across several languages or a broader platform experience should look for a tool with that wider scope.
go-mutesting pros and cons
- Where it wins
- Targets Go files, directories, packages, and recursive package patterns
- Reports killed and surviving mutations with mutation scores
- Supports external commands, blacklists, and custom mutators
- Where it doesn't
- Supports Go source code rather than multiple programming languages
- Uses Go package test suites as its testing model
- Runs as a command-line project, not a hosted service
go-mutesting fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update