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.
25 lines
775 B
Markdown
25 lines
775 B
Markdown
+++
|
|
title = "Write tests/README.md"
|
|
priority = 3
|
|
status = "todo"
|
|
ticket_type = "task"
|
|
dependencies = ["9b581f"]
|
|
+++
|
|
|
|
<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>
|