Skip to content
Critiq Docs

Search docs

Search documentation pages and rules

quality.testing

t.Skip should cite a ticket or suppression

Go tests that call t.Skip without a nearby tracker reference are easy to forget.

#Metadata

Rule ID
go.testing.t-skip-without-ticket-reference
Severity
medium
Confidence
0.7
Languages
go
Presets
recommended, strict
Stability
experimental
Applies to
block
Tags
go, rules-catalog, testing

#Why it matters

Skips without traceability tend to linger and hide regressions.

#Remediation

Link the skip to a tracker id or document why the suite is intentionally bypassed.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/go/go.testing.t-skip-without-ticket-reference.rule.yaml.