cargo-mutants vs go-mutesting
cargo-mutants
mutants.rsgo-mutesting
github.comSide by side
| Figure | cargo-mutants | go-mutesting |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 1 |
| Spec score · Mutation Testing Tools | 7.5 (#12) | 8.0 (#6) |
| Purpose | cargo-mutants is a mutation testing tool for Rust that finds places where bugs could be inserted without causing tests to fail. | go-mutesting performs mutation testing on Go source code to find code that is not covered by tests. |
| Support | The project README invites users to share experience reports in GitHub Discussions and sponsor development. | The README invites users to make feature requests and report bugs or problems. |
Plans
In their own words
cargo-mutants
cargo-mutants has no write-up on Specifiction yet; its figures are above.
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.