mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 13:09:46 +00:00
ignore: python sdk (#2779)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
parent
fc8db6cdf9
commit
0e60f66604
229 changed files with 22322 additions and 8 deletions
15
packages/sdk/python/docs/testing.md
Normal file
15
packages/sdk/python/docs/testing.md
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue