Skip to main content

emit_model_tokio

Macro emit_model_tokio 

macro_rules! emit_model_tokio {
    ($($name:ident),* $(,)?) => { ... };
}
Available on crate feature proptest only.
Expand description

Emits one #[tokio::test] per model rule.

emit_tokio!’s twin, differing only in the module the rules are looked up in. The model module’s documentation says why that is duplicated rather than parameterised.

The default: an invocation of event_store_model_conformance! that names no emitter uses it, and naming it is emit = happenstance_testkit::emit_model_tokio. The name is promised (CF-41): renaming or removing it is a major release of this crate.