Expand description
This module contains everything for implementing your own expectations.
Implementing your own expectation involves working with three main types:
- The
ExpectOptrait which implements the checks. - The
expect_opmacro which wires up internals to make expectations work. - A
Contexttype for holding internal data (for managing things like paths of the checks).
See the ExpectOp trait for an example on implementing an expectation.
Structs§
Enums§
Traits§
- Expect
Op - The trait that represents an expectation. It needs to be used in
conjunction with the
super::expect_opmacro.