eslint-plugin-hollow-tests
An ESLint plugin that catches tests that check nothing
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
A test with no assertion passes forever, and so does one whose assertions sit inside a branch that never runs. eslint-plugin-hollow-tests reports both: tests with no assertion at all, and assertions only inside if, the conditional operator, &&, ||, ??, switch, catch or a loop that may run zero times. Loops known to run at least once count as outside, and assertions moved into a helper are followed automatically within the file. Works with your existing test framework. Free and open source.
PH · launched Nov 12, 2026 · 1 upvote (top 65%) · 0 views
Niche: automated software testing tools · 185 launches, 12 in the last 7 days · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
- Open Source
- Developer Tools
- GitHub
Visit website ↗ Source listing ↗
More like this: all 185 launches in automated software testing tools →
Could you build this?
Yes An ESLint plugin is a small, well-scoped AST-analysis package. Detecting assertions inside conditional branches is a tractable rule-writing task that an AI assistant can handle with the ESLint docs.
Competitors
Other products that read as similar to this one : 108 launches clear the similarity bar, closest 8 shown.
Attention rank: #66 of 109 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 373 days after the earliest competitor.
- safe-await-tuple · ph · 2026-10-14 · 1 upvotes · similarity 0.42
- Crust · hn · 2026-03-17 · 95 upvotes · similarity 0.41
- LingoLint · ph · 2026-09-16 · 2 upvotes · similarity 0.41
- Routelint · ph · 2026-10-19 · 2 upvotes · similarity 0.40
- SharpTS · hn · 2026-01-09 · 6 upvotes · similarity 0.39
- tsrs · github · 2026-10-01 · 13 upvotes · similarity 0.39
- ErisLint · github · 2026-09-18 · 18 upvotes · similarity 0.39
- Suites · hn · 2025-11-04 · 19 upvotes · similarity 0.38
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.