fuzztest

Attribute Macro fuzztest 

Source
#[fuzztest]
Expand description

Define a fuzz test.

All input parameters of the given function must implement arbitrary::Arbitrary.

This macro derives new items based on the given function.

  1. A fuzz_target! is generated that can be used with cargo fuzz.
  2. Property tests (quickcheck or proptest, based on which features are enabled) are generated that can be tested using cargo test.

See the crate documentation derive_fuzztest for details.