Mutation testing for Go that helps you assess the quality of your test suite
Mutation testing measures how good your tests are at catching real bugs. It works by making small, intentional changes (mutations) to your code and rerunning your test suite. If a test fails, the mutation is "killed". If tests still pass, the mutation "survived" — your tests didn't notice a behavior change.
Here’s what mutation testing does on each run:
One common mutation changes a comparison operator (like > → >=).
Install with a single command using Go's package manager
go install gooze.dev/pkg/gooze@latestExecute mutation testing across your codebase
gooze run ./...Get detailed insights into your test suite's effectiveness
gooze view