pub fn is_test_path(path: &Path) -> boolExpand description
True if path is under a test directory or named like a test file.
Recognized patterns:
- segment match:
tests/,test/,__tests__/,__mocks__/,spec/,specs/ - filename: starts with
test_/ ends with_test,.test,.spec,_spec