library: implement fuzz testing for public api

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: schema.rs
    • None
    • 3
    • Iteration Xiaolongbao, Iteration Zucchini, Iteration Cat
    • None

      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

            Assignee:
            Irina Shestak (Inactive)
            Reporter:
            Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: