Skip to content
SPECIFICTION
Get listed

cargo-mutants vs go-mutesting

cargo-mutants

mutants.rs

go-mutesting

github.com

Side by side

Figurecargo-mutantsgo-mutesting
Price from—Free
Free plan—Yes
Free trial——
Open source——
LinuxYesYes
Self-hosted—Yes
Plans published01
Spec score · Mutation Testing Tools7.5 (#12)8.0 (#6)
Purposecargo-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.
SupportThe 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

cargo-mutants

No plans published.

cargo-mutants pricing →

go-mutesting

  • go-mutestingFree

go-mutesting pricing →

In their own words

cargo-mutants

cargo-mutants has no write-up on Specifiction yet; its figures are above.

Visit mutants.rs

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.

Visit github.com