Skip to main content

Module colocated_test

Module colocated_test 

Source
Expand description

The unit colocated-test check.

Enums§

Language
A language whose colocated unit-test convention can be checked.

Functions§

missing_inline_tests
Every Rust source file under root that defines testable behavior — a function with a body, outside any #[cfg(test)] module — but carries no inline #[cfg(test)] module, sorted. exempt holds the rule’s root-relative paths resolved from config.
missing_unit_tests
Every source file under root (for language) with no colocated unit test, sorted. exempt holds the rule’s root-relative paths resolved from config (crate::config::resolve_exempt).