summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/python/docs/testing.md
blob: 3119035d06e2058afe9c5c45644f1048c8148ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Testing

Run unit, mock, and integration tests.

```bash
# Sync dev dependencies
uv sync --dev --project packages/sdk/python

# Run tests
uv run --project packages/sdk/python pytest -q
```

Notes
- Integration test starts a headless opencode server via Bun in a subprocess
- SSE behavior is validated using real streaming from the server