sourcefrog/cargo-mutants
:zombie: Inject bugs and see if your tests catch them! observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 25
- age_days: 1820
- days_rel: 92
- days_push: 10
- n_releases_24m: 18
Adoption not part of the score
1273 stars · 53 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
cargo-mutants is a mutation testing tool for Rust that automatically injects bugs (mutants) into your code and runs your test suite to see which mutants are caught. It requires no changes to your source tree and helps identify functions whose behavior is not adequately checked by tests.
Use cases
- find gaps in my Rust test suite
- check if my tests actually verify behavior rather than just covering code
- run mutation testing on a Rust crate
- identify untested functions in a Rust project
- measure test quality beyond line coverage
- set up mutation testing in CI for pull requests
When to choose
- you have a Rust project with reliable, non-flaky tests running under cargo test or cargo nextest
- you want to know whether tests actually check behavior, not just reach code
- you want a zero-setup mutation testing tool that works on any Rust source tree
- you want to gate pull requests on mutation testing in CI
When to avoid
- your test suite is flaky, since results will be meaningless
- you need cross-compilation or non-Cargo build systems
- your project is not written in Rust
- your test suite is very slow, since runtime scales with mutants times test time
Facets
cli-tool · maturity active
testing cli developer-tools testing developer-tools cli cross-platform windows mutation-testing cargo-subcommand rust test-quality code-coverage-alternative linux macos
6 sources
- readme: https://github.com/sourcefrog/cargo-mutants · fetched 2026-08-28 · 207a08edb3d7
- homepage: https://mutants.rs/ · fetched 2026-08-29 · d860829952bd
- site_page: https://mutants.rs/installation.html · fetched 2026-08-29 · f0ee5622738d
- site_page: https://mutants.rs/getting-started.html · fetched 2026-08-29 · 9e30a0f8ea47
- registry_crates: https://crates.io/api/v1/crates/cargo-mutants · fetched 2026-08-29 · fa8b65f13113
- site_page: https://mutants.rs/goals.html · fetched 2026-08-29 · cd115c190b34
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sourcefrog/cargo-mutants | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="sourcefrog/cargo-mutants")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem