Skip to content
Critiq Docs

Search docs

Search documentation pages and rules

quality.testing

Rust #[ignore] tests should cite a ticket

Ignored tests without a nearby tracker comment are easy to lose.

#Metadata

Rule ID
rust.testing.ignore-without-ticket-reference
Severity
medium
Confidence
0.62
Languages
rust
Presets
recommended, strict
Stability
experimental
Applies to
block
Tags
rules-catalog, rust, testing

#Why it matters

Ignored tests should carry reviewable intent like skips in other ecosystems.

#Remediation

Document the ignore with a tracker id or remove the attribute when the test is ready.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/rust/rust.testing.ignore-without-ticket-reference.rule.yaml.