Testing
Run tests alongside your agents using terminals, automations, 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, save them as reusable automations, 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 testEach command is captured as a block — a self-contained card with the command, its working directory, duration, exit status, and full output. Hover a block for actions: replay, copy, bookmark, or Save as automation.
Saving a test command as an automation
The fastest way to make a test command reusable: run it, hover its block, and click the Save as automation icon. No YAML editing.
For commands you want to commit and share, build one in the Automations view: open the
Automations panel (Cmd/Ctrl+Shift+X) and click +, then set a name, command, and scope and
save. Or initialize a canonical UUID bundle (all bundle files reload on save):
version: 1
id: 3f6f6a52-0000-4000-8000-000000000001
name: Run tests
command: npm test
category: TestingMulti-step automations can build first, then test:
version: 1
id: 3f6f6a52-0000-4000-8000-000000000002
name: CI check
category: Testing
steps:
- name: Type check
run: npx tsc --noEmit
- name: Lint
run: npm run lint
- name: Test
run: npm testSee Automations for the full schema, inputs, and scheduling.
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 runs your test command, reads the output, identifies failing tests and their root cause, makes fixes, re-runs to verify, and explains what went wrong.
Bookmarking test output
When a test run produces output worth keeping — a failure to revisit, a baseline to compare against — bookmark it:
- Hover the command block and click the bookmark icon to save it.
- To add a color and note, right-click the bookmark icon and pick from the popover.
Open Saved → Bookmarks with Cmd/Ctrl+Shift+B to see every bookmark across panes. See
Saved for the full triage process.