Skip to content

Commit 799b991

Browse files
committed
docs(cli): state that os test validates each suite before running it (#6247)
The load-site parse is user-visible behaviour: a suite that does not match `TestSuiteSchema` is now refused before it runs, named, and counted as one failed suite while the rest of the glob continues. The `os test` section listed the flags and said nothing about what happens to a bad file. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Up7rAGwREEy754haLKVtZH
1 parent 712d8e2 commit 799b991

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

content/docs/deployment/cli.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,12 @@ os test --url http://localhost:4000 # Custom server URL
10201020
os test --token my-api-key # With authentication
10211021
```
10221022

1023+
Each file is validated against `TestSuiteSchema` **before it runs**. A suite that
1024+
does not match is refused at load time, naming the file and every offending path,
1025+
and counts as one failed suite — the rest of the glob still runs. This is what
1026+
stops a malformed suite from reporting success: a misspelled `steps` key used to
1027+
produce a scenario that passed having executed nothing.
1028+
10231029
#### `os doctor`
10241030

10251031
Checks your development environment and reports issues:

0 commit comments

Comments
 (0)