You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/agents/testing.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ The mapping it encodes, for when you need to run a gate directly or reason about
37
37
| Platform/device response — anything emitting `platform`/`appleOs` on the wire, or shaping a daemon response |`pnpm test:integration:provider`**and**`pnpm test:coverage`|
| Apple runner / Swift | Build the changed target with `pnpm build:xcuitest:<platform>`; use `pnpm build:xcuitest` only for shared iOS/macOS changes |
40
-
| Runner XCTest methods (`apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/**`) |`pnpm check:xctest-selection`. `ios.yml` runs 37 of the 153 methods through a hand-written `-only-testing:` list, and `xcodebuild` treats an identifier matching nothing as an empty selection rather than an error — so a rename drops a test silently. The check fails only on a listed name no source declares; a test that is in no list is expected, because `.github/workflows/xctest-nightly.yml` runs the suite whole every night|
40
+
| Runner XCTest methods (`apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/**`) |`pnpm check:xctest-selection`. `ios.yml` runs 37 of the 154 methods through a hand-written `-only-testing:` list and `xctest-nightly.yml` excludes one via `-skip-testing:`; `xcodebuild` treats an identifier matching nothing as an empty selection rather than an error, in both directions — a rename drops a test from the PR lane silently, or re-admits `RunnerTests/testCommand`, the runner's 24-hour server entry point, into the nightly and hangs it. The check fails only on a listed name no source declares; a test in no list is expected, because the nightly runs the suite whole |
41
41
| CLI help/guidance (`src/cli/parser/cli-help.ts`, `src/cli-schema/`) |`pnpm exec vitest run src/cli/parser/__tests__ src/cli-schema/command-schema-guards.test.ts scripts/__tests__` — the `scripts/__tests__` gates enforce help-topic benchmark coverage and pin the bench's quoted CLI samples to the real renderers |
42
42
| Help benchmark cases (`scripts/help-conformance-*.mjs`) |`pnpm exec vitest run scripts/__tests__` (deterministic gates); model-backed: `pnpm bench:help-conformance` (paid LLM calls, local only) |
43
43
|`.ad` grammar (`src/replay/script.ts`, gesture arity, replay vars) |`pnpm exec vitest run --project unit-core test/replay-compat` — the frozen replay-compat corpus asserts which released script surfaces still parse; a flipped verdict is edited in `test/replay-compat/manifest.ts`, never in the script. Adding or re-pinning a corpus entry also runs `pnpm check:replay-compat`, which re-derives each entry from its release tag in git history |
0 commit comments