Module prop
Expand description
Re-exports the entire public API of proptest so that an import of prelude
allows simply writing, for example, prop::num::i32::ANY
rather than
proptest::num::i32::ANY
plus a separate use proptest;
.
Modulesยง
- Defines the
Arbitrary
trait and related free functions and type aliases. - Support for strategies producing fixed-length arrays.
- Strategies for working with bit sets.
- Strategies for generating
bool
values. - Strategies for generating
char
values. - Strategies for generating
std::collections
of values. - Strategies to generate numeric values (as opposed to integers used as bit fields).
- Strategies for generating
std::Option
values. - Strategies for combining delegate strategies into
std::Result
s. - Strategies for generating values by taking samples of collections.
- Defines the core traits used by Proptest.
- Strategies for generating strings and byte strings from regular expressions.
- State and functions for running proptest tests.
- Support for combining strategies into tuples.