Re-exports§
pub extern crate proptest;
Modules§
- arbitrary
- Defines the
Arbitrary
trait and related free functions and type aliases. - array
- Support for strategies producing fixed-length arrays.
- bits
- Strategies for working with bit sets.
- bool
- Strategies for generating
bool
values. - char
- Strategies for generating
char
values. - collection
- Strategies for generating
std::collections
of values. - fuzz
- graph
- index
- num
- Strategies to generate numeric values (as opposed to integers used as bit fields).
- option
- Strategies for generating
std::Option
values. - path
- Strategies for generating [
PathBuf
] and related path types. - prelude
- Re-exports the most commonly-needed APIs of proptest.
- result
- Strategies for combining delegate strategies into
std::Result
s. - sample
- Strategies for generating values by taking samples of collections.
- steps
- strategy
- Defines the core traits used by Proptest.
- string
- Strategies for generating strings and byte strings from regular expressions.
- test_
runner - State and functions for running proptest tests.
- tuple
- Support for combining strategies into tuples.
Macros§
- assert_
elements_ eq - assert_
elements_ one_ of - check_
unsupported - edge_
index_ label_ test - general_
test - prop_
assert - Similar to
assert!
from std, but returns a test failure instead of panicking if the condition fails. - prop_
assert_ eq - Similar to
assert_eq!
from std, but returns a test failure instead of panicking if the condition fails. - prop_
assert_ ne - Similar to
assert_ne!
from std, but returns a test failure instead of panicking if the condition fails. - prop_
assume - Rejects the test input if assumptions are not met.
- prop_
compose - Convenience to define functions which produce new strategies.
- prop_
oneof - Produce a strategy which picks one of the listed choices.
- proptest
- Easily define
proptest
tests. - test_
suite - vertex_
index_ full_ text_ test - vertex_
index_ hash_ test - vertex_
index_ label_ test - vertex_
index_ range_ test