You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vibed/quotesdb/.beans/quotesdb-eh4l--write-testsr...

29 lines
853 B
Markdown

---
# quotesdb-eh4l
title: Write tests/README.md
status: completed
type: task
priority: low
created_at: 2026-03-10T23:32:08Z
updated_at: 2026-03-10T23:32:15Z
blocked_by:
- quotesdb-gu9j
---
<context>
Integration tests live in `tests/` and exercise the API binary against a temporary SQLite database. They run with `cargo test` and must not require a running Cloudflare environment. The test harness spawns the API server on a random port and returns the base URL.
</context>
<goal>
Write `tests/README.md` explaining:
1. What the integration test suite covers
2. How to run the tests (`cargo test` from the `quotesdb/` directory)
3. How the test harness works (temporary SQLite DB, port binding, cleanup)
4. Any prerequisites for running tests locally
5. License notice
</goal>
<commit>
`docs(quotesdb): write integration tests README`
</commit>