Shared helpers for Credo checks that only want to run against test files.
A path counts as a test file when its basename ends in _test.exs or when
any path segment is test (covers test/, apps/*/test/, etc.).
Summary
Functions
Returns true when filename looks like a test file.