Local Development
Use the CLI to validate changes against your local dev server before pushing.
Set your target URL
Set the target once for the session:
Or pass it per-run:
Run tests
Start your dev server, then run dashboard-defined tests locally:
Headed mode
Watch the AI agent work in a visible browser:
Useful for debugging flaky tests or understanding agent behavior.
Debug mode
Save detailed logs and transcripts to .testerarmy/:
Check .testerarmy/<timestamp>/debug-run.json for the full stream/tool transcript.
Inspect artifacts
Every run writes to .testerarmy/<timestamp>/:
run-meta.json- run metadataresult.json- pass/fail resultsdebug-run.json- full transcript (with--debug)
List recent runs:
Typical workflow
CI usage
Set TESTERARMY_API_KEY and TESTERARMY_TARGET_URL as environment variables in your pipeline:
Exit code 1 on any test failure - your pipeline fails automatically.

