~/talk

"Finding Bugs with cargo-mutants"

Talkat RustConf 2024 · 2024-09-10..09-13· [rust, testing]
slides:none on file

cargo-mutants automatically injects small, realistic synthetic bugs into a copy of a crate, builds with syn-based parsing, and reruns tests to find behaviors no test asserts. It flags cases where a function could replace function with true or a type could always hash the same value. Runs are deterministic and parallelizable in CI, the author sees 575 mutants on its own source and full-suite checking takes about 15 minutes with incremental builds to reveal real bugs and test gaps.

AI-written summary · about

  1. 0:00The persistence of bugs
  2. 1:24Limitations of software tests
  3. 4:01Introduction to cargo-mutants
  4. 6:17How cargo-mutants works
  5. 7:19Small example walkthrough
  6. 9:33Case study: semver crate
  7. 12:19Handling mutant findings
  8. 15:27Tool implementation details
  9. 19:44User feedback and experiences
  10. 22:28Performance and parallelization
  11. 24:22Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.