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 testEach 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:
- Open Scripts panel (
Cmd+Shift+R) - Add a new script with your test command
- Run it anytime from the panel
name: Run tests
command: npm test
category: TestingYou can also create multi-step scripts that 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 testAgent-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:
- Hover over the command block in the terminal
- Click the star icon
- Optionally pick a color and add a note
View all bookmarks across panes with Cmd+Shift+B.