* Add `proptest-impl` feature to `zebra-state` This prepares the `zebra-state` crate to be able to export some test-specific helper types and functions. * Add `arbitrary` module to `zebra-state` root A separate module to contain the `Prepare` trait, since it's required by some prop-test strategies and therefore can't be in the `tests` module. * Replace usages of `tests::Prepare` Use the same trait but placed in a new module that's accessible based on the feature flag. * Remove old `Prepare` trait It was obsoleted by the new copy in the `arbitrary` module. * Make `StateService` crate-accessible Prepare for it to be accessible in some test modules. * Refactor strategy function import Import the function directly, instead of just its containing module. * Move some strategy functions to `tests::setup` Create a new module for the strategy functions that are only used internally. Co-authored-by: teor <teor@riseup.net> |
||
|---|---|---|
| .. | ||
| proptest-regressions/service | ||
| src | ||
| tests | ||
| Cargo.toml | ||