hobhob
Core Features

Testing

Run tests alongside your agents using terminals, scripts, and agent-assisted debugging.

hob doesn't replace your test runner — it gives you a better place to use it. Run tests in a terminal tiled next to your agent, create reusable test scripts, or ask an agent to analyze failures.

Running tests in a terminal

Press Alt+T to open a terminal next to your agent pane. Both tile side by side — run your tests while the agent works.

npm test

Each command in the terminal is captured as a block — a collapsible section with the command and its full output. Scroll back to see previous runs without losing context.

Creating a test script

For test commands you run often, save them as a script:

  1. Open Scripts panel (Cmd+Shift+R)
  2. Add a new script with your test command
  3. Run it anytime from the panel
.hob/tasks/test.yaml
name: Run tests
command: npm test
category: Testing

You can also create multi-step scripts that build first, then test:

.hob/tasks/ci.yaml
name: CI check
category: Testing
steps:
  - name: Type check
    run: npx tsc --noEmit
  - name: Lint
    run: npm run lint
  - name: Test
    run: npm test

Agent-assisted testing

Ask an agent to run and analyze your tests:

Run the test suite and fix any failures. Show me what you changed.

The agent can:

  • Run your test command and read the output
  • Identify failing tests and their root cause
  • Make fixes and re-run to verify
  • Explain what went wrong and why the fix works

Bookmarking test output

When a test run produces important output — a failure you want to revisit, or a baseline you want to compare against — bookmark it:

  1. Hover over the command block in the terminal
  2. Click the star icon
  3. Optionally pick a color and add a note

View all bookmarks across panes with Cmd+Shift+B.

How is this guide?

On this page