Skip to main content

discover_cases

Function discover_cases 

Source
pub fn discover_cases(path: &Path) -> Result<Vec<PathBuf>>
Expand description

Discover test-case files: either a single .yaml/.yml file or every such file directly inside a directory (sorted for deterministic ordering).

ยงErrors

Error::Io if a directory cannot be read, Error::Invalid if the path matches nothing usable.