go-mutesting vs mutator
go-mutesting
github.commutator
pdonatbouillud.comSide by side
| Figure | go-mutesting | mutator |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Linux | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 0 |
| Spec score · Mutation Testing Tools | 8.0 (#6) | 6.9 (#21) |
| License | The repository identifies the project as MIT licensed. | The package is licensed under GPL (>= 3). |
| Mutation score | It reports a mutation score based on the proportion of mutations killed by the test suite. | It reports the ratio of killed mutants to total mutants as a measure of test suite effectiveness. |
| Purpose | go-mutesting performs mutation testing on Go source code to find code that is not covered by tests. | mutator is an automated mutation testing tool for the R language that checks whether a test suite detects systematic changes to source code. |
| Support | The README invites users to make feature requests and report bugs or problems. | The documentation links to a GitHub page for reporting bugs. |
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.
mutator
mutator has no write-up on Specifiction yet; its figures are above.