go-mutesting vs mutest-rs
go-mutesting
github.commutest-rs
mutest.rsSide by side
| Figure | go-mutesting | mutest-rs |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Linux | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 1 | 0 |
| Spec score · Mutation Testing Tools | 8.0 (#6) | 6.8 (#22) |
| Integration | The tool can run Go package tests by default and supports external test commands through `--exec`. | The tool provides a Cargo-compatible interface and supports Cargo package and workspace targeting options. |
| License | The repository identifies the project as MIT licensed. | The project is dual-licensed under Apache 2.0 and MIT terms. |
| Purpose | go-mutesting performs mutation testing on Go source code to find code that is not covered by tests. | mutest-rs generates and evaluates program mutations to assess Rust test suites. |
Plans
In their own words
go-mutesting
go-mutesting is a framework for mutation testing Go code to identify parts of a program that tests may not cover. It changes source code in controlled ways, runs tests, and reports whether each mutation is killed or survives; surviving mutations are accompanied by a source patch. Its mutation score reflects the share of generated mutations killed by the test suite. Targets may be Go files, directories, or packages, including recursive `...` patterns, while `_test` files are excluded. By default, it replaces the original file with a mutation and runs that package’s tests. Alternatively, an external command can test each mutation, with environment variables describing the change and exit codes indicating the result. Built-in mutators cover branches, comparisons, boolean expressions, statement removal, and Cosmos SDK arithmetic and comparisons. Custom mutators can be registered through the Mutator interface. The MIT-licensed tool is free and runs on Linux or in self-hosted environments. Its README positions mutation testing as a supplement to automatic test suites and cautions that false positives can occur.