Skip to main content

Module test_siblings

Module test_siblings 

Source

Constantsยง

CHECKED_SRC_ROOTS ๐Ÿ”’
Source trees that follow the foo.rs + foo_tests.rs sibling convention and are therefore checked by this command.
EXEMPT ๐Ÿ”’
ORPHAN_EXEMPT ๐Ÿ”’
_tests.rs files that legitimately have no same-named source sibling: shared test fixtures (in-process servers, stub impls) that several tests in the same tree consume. They are named _tests.rs so they stay test-only code rather than source requiring siblings of their own.
UNCHECKED_SRC_ROOTS ๐Ÿ”’
Source trees deliberately not checked, each with the reason.

Functionsยง

check ๐Ÿ”’
crate_src_roots ๐Ÿ”’
expected_test_sibling ๐Ÿ”’
filename ๐Ÿ”’
matching_source ๐Ÿ”’
missing_siblings ๐Ÿ”’
orphaned_test_files ๐Ÿ”’
rust_files ๐Ÿ”’
source_files_requiring_siblings ๐Ÿ”’
test_files ๐Ÿ”’