Skip to content

Commit 4822c07

Browse files
committed
docs: add agent advice for Testo usage
1 parent 857236f commit 4822c07

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/ai/agent-advices.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
llms: "footer"
3+
llms_description: "Advice for AI agents working with Testo: run with --json for a parseable result and narrow runs with --filter/--path/--suite while iterating."
4+
llms_priority: 0
5+
---
6+
7+
## Advice for Agents
8+
9+
Rules for an AI agent working with Testo.
10+
11+
1. **Run Testo with `--json`, and narrow the run while iterating.** `--json` prints the whole run as one JSON object on stdout and nothing else — no ANSI to parse around. The object holds the summary and a flat `failures[]` list. Parse it instead of the human-readable output. `--json` excludes `--teamcity`. While iterating, target what you change with `--filter`, `--path`, or `--suite`; run the full suite once at the end.

0 commit comments

Comments
 (0)