Skip to content
Fallow home
All docs pages

Docs home

Untested file

What an untested-file finding of fallow health means, why it matters and how to fix it.

What it reports

Runtime-reachable file has no test dependency path.

Health explains how fallow finds it.

Why it matters

No test imports the file, directly or through other modules. A change to the file can break production, and no test fails.

Example

src/routes/checkout.ts imports src/billing/invoice.ts, but no test file imports either module, directly or through other modules.

Fix

Add or wire a test that imports the runtime path, or update entry-point/test discovery if the existing test is invisible to fallow.

Facts

FactValue
Issue typeuntested-file
Rule id in SARIF outputfallow/untested-file
Commandfallow health
Default severityoff
Filter option--coverage-gaps
Suppression comment// fallow-ignore-file coverage-gaps
Fixable with fallow fixNo
Opt-inYes