cloudaxe-opencode/packages/sdk/python/docs/testing.md

17 lines
341 B
Markdown
Raw Normal View History

# 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
2025-11-06 18:03:02 +00:00
- Integration test starts a headless opencode server via Bun in a subprocess
- SSE behavior is validated using real streaming from the server