summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/python/docs/testing.md
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sdk/python/docs/testing.md')
-rw-r--r--packages/sdk/python/docs/testing.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/sdk/python/docs/testing.md b/packages/sdk/python/docs/testing.md
new file mode 100644
index 000000000..3119035d0
--- /dev/null
+++ b/packages/sdk/python/docs/testing.md
@@ -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