Skip to main content

load_case

Function load_case 

Source
pub fn load_case(fixtures_dir: &Path, name: &str) -> Result<Case, CaseError>
Expand description

Load a single case fixture by name from the given fixtures directory.

Asserts that the loaded fixture’s name field matches the requested name; a mismatch returns CaseError::NameMismatch rather than silently producing a wrong-cased diagnosis.