pub fn is_test_path(path: &str) -> boolExpand description
True when a repository-relative path looks like a test file. Directory rules and file-name
rules are kept apart: a test, tests, autotests, or __tests__ directory anywhere
including the repository root, or a file name that starts with Qt’s tst_, starts with
test_ in Python or Ruby, contains _test.,
.test., or .spec., is exactly test.rs or tests.rs, or ends with the C# Tests.cs
(case-sensitive, so Contests.cs is a production file).