redgreen

Reviewed at commit cdc4fa3

A Tests pane for the vitest, jest, pytest, cargo, go, bun and deno runs Claude makes, with each failure's detail, a status line and the run history.

Made by
hellosverre
What we checked

Watches the Bash and PowerShell commands Claude runs, recognises test runs (vitest, jest, pytest, cargo, go, bun, deno, npm test and similar), and shows a pass/fail pane with failure detail and the last 50 runs, plus a status-line summary. It changes nothing Claude does and makes no network calls; /tests opens the pane or clears the history.

Review details

Static review of the source at the pinned commit; not run. Registers session.start, command.run (/tests and /tests clear), tool.call for Bash and PowerShell (always passes the result through, with a catch that skips on error), and ui.render for its Pane. For commands matching a test pattern it parses the output text with regular expressions and keeps counts, failing test names, file names and up to 30 lines of error detail per failure in session state (50 runs at most). Runtime calls: $.fs.read (only the tool's own persistedOutputPath, when Claude's output was too large to keep inline), $.clock.now, $.ui.status, $.ui.open (opens the pane on a failing run), $.command.register, state atoms. Output text is only parsed, never executed. Changes since the previous review are README only. npm dependencies: none.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of redgreen

Test results pane for Claude Code: every test run Claude makes becomes a pass/fail list with the failure detail and run history. vitest, jest, pytest, cargo, go, bun, deno

Made this mod? Add a badge to your README

modsforClaude badge for redgreen

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/redgreen.svg)](https://modsforclaude.com/mods/redgreen/)

← All mods