macro_rules! sync_model_conformance {
(mod_name = $mod_name:ident, emit = $emit:path, fixture = $fixture:expr) => { ... };
(mod_name = $mod_name:ident, fixture = $fixture:expr) => { ... };
($fixture:expr) => { ... };
}Available on crate feature
proptest only.Expand description
Generates the model family for a peer adapter.
Takes the same fixture expression
sync_peer_conformance! does. Each rule
calls it once per node, so it must build a fresh, isolated peer every time.
It exists behind this crate’s proptest feature and not on
wasm32-unknown-unknown; gate the invocation accordingly.
§Examples
happenstance_sync_testkit::sync_model_conformance!(
happenstance_sync_testkit::MemorySyncFixture::new()
);