2026年5月28日 Rust 的变异测试确实能用,但你的编译时间会恨你 cargo-mutants 能找出那些只是假装在验证代码的测试。本文介绍变异测试在 Rust 中的工作原理、它能捕捉什么问题,以及编译时间成本是否值得。 deep-divesmutation-testingrustcargo-mutantstest-quality