Skip to main content

Module test_detect

Module test_detect 

Source
Expand description

Shared test-path detection logic.

Single source of truth for deciding whether a file path belongs to a test/fixture/benchmark directory. Used by both graph.rs (test-entity filtering) and verify.rs (arity-check exclusions).

Functionsยง

is_test_path
Returns true if any path component (directory or file stem) matches built-in test heuristics.
is_test_path_with_custom_dirs
Like is_test_path, but also matches if any path component equals one of the caller-supplied custom directory names.