Skip to content

Commit 09693b0

Browse files
committed
docs(tests): how to run unit/codegen/smoke suites
1 parent 9e61014 commit 09693b0

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

tests/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Testing layout
2+
3+
- smoke/
4+
- Cloud Build pipeline and Python runner that deploys the example app and Workflows, then invokes workflows end-to-end and asserts final results.
5+
6+
- unit/
7+
- FastAPI TestClient tests that call each step endpoint under /steps and validate Pydantic contracts and route registration.
8+
9+
- codegen/
10+
- CLI-driven codegen tests that generate YAML and compare full-file snapshots under tests/fixtures/yaml.
11+
12+
Notes
13+
- Set GOOGLE_CLOUD_PROJECT (or configure gcloud) to run smoke tests locally.
14+
- On first snapshot run, snapshot files will be created under tests/fixtures/yaml; commit them and re-run.
15+

0 commit comments

Comments
 (0)