Testing
Run tests alongside your agents using terminals, workflows, 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 workflows, 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 workflow.
Saving a test command as a workflow
The fastest way to make a test command reusable: run it, hover its block, and click the Save as workflow icon. No YAML editing.
For commands you want to commit and share, create a workflow file directly. Open the Workflows
panel (Cmd/Ctrl+Shift+X), click +, give it a name, command, and scope — or drop a YAML
file in .hob/workflows/ (files reload on save):
name: Run tests
command: npm test
category: TestingMulti-step workflows can build first, then test:
name: CI check
category: Testing
steps:
- name: Type check
run: npx tsc --noEmit
- name: Lint
run: npm run lint
- name: Test
run: npm testSee Workflows 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 the Bookmarks panel with Cmd/Ctrl+Shift+B to see every bookmark across panes. See
Bookmarks for the full triage workflow.