pub fn is_test_file(path: &str) -> boolExpand description
Return true if path identifies a test file by Python convention:
- base name matches
test_*.pyor*_test.py(pytest conventions), OR - base name is
conftest.py(pytest configuration / shared fixtures), OR - any path segment is exactly
tests(e.g.src/tests/foo.py).