Skip to main content

Module fixtures

Module fixtures 

Source
Expand description

Fixture loading utilities

Re-exports§

pub use crate::fixture_store::load_fixtures_from_dir;
pub use crate::fixture_store::FixtureFileFormat;
pub use crate::fixture_store::FixtureFileGranularity;
pub use crate::fixture_store::FixtureLoadErrorMode;
pub use crate::fixture_store::FixtureLoadOptions;
pub use crate::record_replay::RecordHandler;
pub use crate::record_replay::RecordReplayHandler;
pub use crate::record_replay::RecordedRequest;
pub use crate::record_replay::ReplayHandler;

Structs§

CustomFixture
Custom fixture structure matching the simple JSON format
CustomFixtureLoader
Custom fixture loader that scans a directory for fixture files
NestedFixture
Nested fixture format for backward compatibility