Skip to content

Commit 31f4ee0

Browse files
resolve gemini target against current agent skills
1 parent dc3ab2d commit 31f4ee0

6 files changed

Lines changed: 1184 additions & 186 deletions

File tree

DOCUMENTATION.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ testsprite test get test_xxxxxxxx --dry-run --output json
181181

182182
#### `testsprite test code get <test-id>`
183183

184-
Print the generated test source. With `--out <path>`, write it to a file instead of stdout (text mode writes the source body; JSON mode writes the wire envelope).
184+
Print the generated test source. TestSprite test code is **Python**: frontend tests are Playwright (`playwright.async_api`, async), backend tests use `requests` with `pytest`-style assertions. With `--out <path>`, write it to a file instead of stdout (text mode writes the source body; JSON mode writes the wire envelope).
185185

186186
```bash
187187
testsprite test code get test_xxxxxxxx
188-
testsprite test code get test_xxxxxxxx --out ./test_xxxxxxxx.spec.ts
188+
testsprite test code get test_xxxxxxxx --out ./test_xxxxxxxx.py
189189
testsprite test code get test_xxxxxxxx --dry-run --output json
190190
```
191191

@@ -301,12 +301,12 @@ testsprite test delete test_xxxxxxxx --dry-run --output json
301301

302302
#### `testsprite test code put <test-id>`
303303

304-
Replace the generated test code with a new file. The CLI uses an etag (`codeVersion`) for optimistic-concurrency control: it auto-fetches the current version, or pass `--expected-version` to pin one, or `--force` to skip the guard.
304+
Replace the generated test code with a new file. **The replacement must be Python** — the execution engine runs the stored code with Python `exec()` (frontend: Playwright `playwright.async_api`; backend: `requests` + assertions), so a TypeScript/JavaScript file would fail at run time with a `SyntaxError`. The CLI uses an etag (`codeVersion`) for optimistic-concurrency control: it auto-fetches the current version, or pass `--expected-version` to pin one, or `--force` to skip the guard.
305305

306306
```bash
307-
testsprite test code put test_xxxxxxxx --code-file ./test.spec.ts
308-
testsprite test code put test_xxxxxxxx --code-file ./test.spec.ts --expected-version v3
309-
testsprite test code put test_xxxxxxxx --code-file ./test.spec.ts --dry-run --output json
307+
testsprite test code put test_xxxxxxxx --code-file ./test.py
308+
testsprite test code put test_xxxxxxxx --code-file ./test.py --expected-version v3
309+
testsprite test code put test_xxxxxxxx --code-file ./test.py --dry-run --output json
310310
```
311311

312312
#### `testsprite test plan put <test-id>`

0 commit comments

Comments
 (0)