Modules§
- generator
- Re-export of
bolero_generator
Macros§
Structs§
- Byte
Slice Generator - Default generator for byte slices
- Default
Engine - The default engine used when defining a test target
Engine implementation which mimics Rust’s default test
harness. By default, the test inputs will include any present
corpus
andcrashes
files, as well as generating - Test
Target - Configuration for a test target
Enums§
- Driver
Mode Deprecated - Byte exhaustion strategy for the driver
Traits§
- Any
- AnySlice
Ext - AnySlice
MutExt - Driver
- Trait for driving the generation of a value
- Engine
- Trait for defining an engine that executes a test
- OneOf
Ext - Extensions for picking a generator from a set of generators
- OneValue
OfExt - Extensions for picking a value from a set of values
- Test
- Trait for defining a test case
- Type
Generator - Generate a value for a given type
- Type
Generator With Params - Convert a type generator into the default value generator
- Value
Generator - Generate a value with a parameterized generator
Functions§
- any
- assume
- constant
- Always generate the same value
- fill
- fill_
bytes - gen
Deprecated - Generate a value for a given type
- gen_
with Deprecated - Generate a value for a given type
- one_of
- Pick a generator for the provided set of generators
- one_
value_ of - Pick a value for the provided set of values
- pick
- produce
- Generate a value for a given type
- produce_
with - Generate a value for a given type with additional constraints
- shuffle
Derive Macros§
- Type
Generator - Derive the an implementation of
TypeGenerator
for the given type.