Skip to main content

is_test_path

Function is_test_path 

Source
pub fn is_test_path(root: &Path, relative: &Path) -> bool
Expand description

Whether a project-relative path is test code or test support.

root is the project root. Pass relative relative to root. An absolute path also matches on the directories above the project root.