Expand description
Shared cross-host fixture loader.
The cross-host fixture set lives under
tests/fixtures/oxi-foundation/v1/ and is byte-identical across
oxicode / oxibrain / oxios. Loading here is intentionally dumb
(include_str!-style — never network-fetched, never mutated).
Functions§
- fixture_
root - Resolve the fixture root by walking the current CARGO_MANIFEST_DIR
upward. Returns
Nonewhen the layout can’t be found (e.g. when the crate is consumed as a dependency without the fixtures directory). - foundation
- Read the canonical
foundation.jsonfixture. - package
- Read a package fixture by name (without extension).
- profile
- Read a profile fixture by name (without extension).