[COMPASS-3424] library: implement fuzz testing for public api Created: 31/Jan/19 Updated: 29/Apr/19 Resolved: 29/Apr/19 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | schema.rs |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Irina Shestak (Inactive) | Assignee: | Irina Shestak (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | COMPASS-3418 |
| Story Points: | 3 |
| Sprint: | Iteration Xiaolongbao, Iteration Zucchini, Iteration Cat |
| Description |
|
there is a good library to do some fuzz testing in rust: https://docs.rs/proptest/0.8.7/proptest/ idea here: make sure lib doesn't crash.
example on how to do it: https://github.com/datrs/sleep-parser/blob/master/fuzz/fuzz_targets/header-from-vec.rs |