Beyond unit tests, proptest and quickcheck generate inputs to find edge cases, and cargo-fuzz drives coverage-guided fuzzing — standard practice for parsers and consensus code. Use insta for snapshot tests and tarpaulin or llvm-cov for coverage.
← Rust theorytheory 0/50 · 0%
Toolchain · hard
46. Testing Strategy
Property tests, fuzzing and coverage.
Check your understanding
1. Which technique generates random inputs against invariants?
2. cargo-fuzz is guided by…