Find untested code and generate ready-to-run tests for it — right inside VS Code.
How it works
Detection is free, no account required.
- Open a TypeScript or JavaScript project that already has Jest or Vitest configured.
- Run Covergeist: Run Coverage Scan from the command palette or click the sidebar button.
- Uncovered lines and functions are highlighted inline with gutter icons ("haunted" indicators).
- A coverage summary panel in the sidebar shows the percentage covered per file.
Test generation requires a subscription.
- Click "Generate test" on any haunted function (via the lightbulb code action or gutter icon).
- Sign in with your Covergeist account — only asked once, session persists across restarts.
- Review the generated test in a diff panel before anything is written to disk.
- Accept to write the test file, or reject to leave your workspace unchanged.
Only the selected function's code snippet is sent to the backend — your full codebase stays on your machine.
Requirements
- VS Code 1.90 or later
- A TypeScript or JavaScript project with Jest or Vitest already configured and a coverage provider enabled (e.g.
c8oristanbul)
Extension settings
| Setting | Default | Description |
|---|---|---|
covergeist.apiUrl |
https://covergeist-production.up.railway.app |
Backend API URL. Override for local development. |
covergeist.clerkOAuthClientId |
(empty) | Clerk OAuth Application client ID. |
covergeist.clerkFrontendApiUrl |
(empty) | Clerk frontend API URL. |
covergeist.billingUrl |
https://covergeist.dev/billing |
URL opened when the user clicks Upgrade. |
Privacy
Covergeist never uploads your project. Only the code snippet for the function you select is transmitted to the backend for generation. The rest of your codebase remains local.
Feedback & issues
Report bugs or request features at github.com/EmperorOlashinbo/Covergeist.