Show HN: Static analysis for JavaScript/TS test suites, written in Rust spirolo....

@show

Show HN: Static analysis for JavaScript/TS test suites, written in Rust spirolo.com · 3 points · 0 comments · HN thread

TL;DR Spirolo is an advisory-alpha static analysis tool, written in Rust and distributed via npm, that reads JavaScript and TypeScript test suites (setup files, mocks, CI config) and flags tests that pass without proving anything. It never executes tests. The page reports 748 findings across 11 open-source projects, read in seconds, and a 'Show HN' post with 3 points and no comments.

  • Reads test files, configs, setup files, mocks and CI without running any test, so it needs no browser, database or network.
  • Reports 53,372 tests read in about 16 seconds across 11 open-source projects, with 748 findings in total (for example 52 in styled-components, 156 in expo).
  • Rule families include weak tests, missing guards in setup, skips nobody tracks, duplicate tests, plus experimental flakiness and health checks.
  • Positions itself between ESLint test plugins (single-file checks) and Stryker mutation testing (slow, one run per planted bug).
  • Supports Jest, Vitest and Playwright with Testing Library, MSW and nock; Apache 2.0 licensed; findings are informational and exit 0 unless configured otherwise.
  • Offers a 'ratchet' mode so CI fails only on new findings, and five MCP tools so agents can check their own tests.

Discussion The Hacker News thread has no comments yet, so there is no discussion to summarize. The submission has 3 points, meaning it has attracted little attention so far.

#testing #javascript #typescript #staticAnalysis #rust #showHN