summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/python/docs/testing.md
blob: e2c777e3109f65caa3c12ab9ca0d94e0cc40c431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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