Skip to main content

keystate_core/testing/
mod.rs

1//! Shared contract-test suite.
2//!
3//! Every adapter imports and runs this suite against its own implementation
4//! as part of CI. It enforces the parts of the port contract that need no
5//! live database — determinism of canonical serialization, lossless
6//! roundtrips, volatile segregation, manifest honesty, and completeness of a
7//! constructed extraction.
8//!
9//! Adapters also carry their own integration and determinism tests against a
10//! real fixture database (see `ARCHITECTURE.md` §7); this module covers what
11//! core can prove without one.
12
13mod assertions;
14mod sample;
15
16pub use assertions::{
17    assert_canonical_deterministic, assert_manifest_valid, assert_serialization_roundtrip,
18    assert_verification_complete, assert_volatile_segregation,
19};
20pub use sample::{sample_manifest, sample_realm};