Changes for AGENTS.md: 2 added lines, 1 removed line.
Original line number
Diff line number
Diff line
@@ -24,12 +24,13 @@ Prefer the project commands already defined in the `Makefile`.
- Run development services: `make run`
- Format: `make format`
- Full test suite: `make test`
- Full test suite using the currently configured database connection: `make test TEST_DATABASE=configured`
- Focused Django tests: `JAMA_VAR_DIR=.jama_data uv run jama test rpc`
- Lint one file: `uv run ruff check src/rpc/methods.py`
- Format one file: `uv run ruff format src/rpc/methods.py`
- Build package: `make build`
`make test` runs from `src/` with `JAMA_VAR_DIR=.jama_test_data` and an in-memory SQLite database, then removes `.jama_test_data`. When running tests manually with another `JAMA_VAR_DIR`, remove that generated directory after the test run as well.
`make test` runs from `src/` with `JAMA_VAR_DIR=.jama_test_data` and an in-memory SQLite database, then removes `.jama_test_data`. Set `TEST_DATABASE=configured` to use the database connection loaded from the current `JAMA_VAR_DIR` instead. Django still creates and destroys its usual separate test database. When running tests manually with another generated `JAMA_VAR_DIR`, remove that directory after the test run as well.