Expand description
Shared contract tests for mfm-machine storage traits.
This crate stays intentionally small so storage backend crates can reuse the same conformance checks without creating dependency cycles back into the runtime.
§Examples
use mfm_machine::stores::ArtifactStore;
use mfm_machine_test_support::{artifact_store_contract_tests, init_test_observability};
async fn assert_artifact_store(store: &dyn ArtifactStore) {
init_test_observability();
artifact_store_contract_tests(store).await;
}Functions§
- artifact_
store_ contract_ tests - Runs the shared
ArtifactStorecontract suite against a backend. - event_
store_ contract_ tests - Runs the shared
EventStorecontract suite against a backend. - init_
test_ observability - Initializes a process-wide tracing subscriber for integration and contract tests.