Agentic manual testing

2026-05-15 · source · source ↗ · raw capture · wiki page

The defining trait of a coding agent is that it can execute the code it writes, making it far more useful than LLMs that just output unverified code.

Opening Principles

Mechanisms for Agentic Manual Testing

Python libraries

Use python -c "... code ..." to execute snippets inline. Prompt: "Try that new function on some edge cases using `python -c`"

Other languages

Write a demo file to /tmp, compile, and run, avoiding accidental commits. Prompt: "Write code in `/tmp` to try edge cases of that function and then compile and run it"

Web apps with JSON APIs

Use curl against a dev server. Prompt: "Run a dev server and explore that new JSON API using `curl`"

Fixing discovered issues

Use red/green TDD to ensure the fix gets permanent automated test coverage.

Browser Automation for Web UIs

Example Prompt with Three Embedded Tricks

"Start a dev server and then use `uvx rodney --help` to test the new homepage, look at screenshots to confirm the menu is in the right place"

  1. uvx auto-installs Rodney the first time via Astral's package manager.
  2. rodney --help is deliberately designed to give agents everything they need to understand and use the tool.
  3. "look at screenshots" cues the agent to use rodney screenshot and leverage its own vision capabilities.

Managing Test Fragility

Many developers avoid automated browser tests due to flakiness — small HTML tweaks cause waves of failures. Willison notes that "having coding agents maintain those tests over time greatly reduces the friction involved."

Have Them Take Notes with Showboat

Showboat creates documents capturing the agentic manual testing flow.

Prompt: "Run `uvx showboat --help` and then create a `notes/api-demo.md` showboat document and use it to test and document that new API."

Three Key Showboat Commands

The exec command is most important because it captures both the command and its actual output, discouraging agents from writing what they hoped happened rather than what actually occurred.

Chapter Context

This is Chapter 3.3 of the Agentic Engineering Patterns guide. - Previous: First run the tests - Next: Linear walkthroughs

External Links