diff --git a/AGENTS.md b/AGENTS.md index 9af47bc7..ccafcc92 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -468,7 +468,7 @@ ______________________________________________________________________ - `-p, --parallel` - Run tests with `pytest-xdist` - `-w, --workers` - Set number of parallel workers (default: `auto`) -**Note:** External backends (MongoDB, Redis, SQL) require Docker. S3, memory, and pickle backends work without Docker. +**Note:** Redis and SQL backends require Docker. MongoDB can run either in-memory (default, no Docker needed) or against a Dockerized instance when using `make test-mongo-local` / `./scripts/test-local.sh mongo`. S3, memory, and pickle backends work without Docker. You can also set cores with `CACHIER_TEST_CORES="mongo redis" ./scripts/test-local.sh`. ______________________________________________________________________ diff --git a/Makefile b/Makefile index 9369a313..3fba9e7f 100644 --- a/Makefile +++ b/Makefile @@ -69,13 +69,13 @@ test-mongo-inmemory: test-mongo-docker: @echo "Running MongoDB tests against Docker MongoDB..." - ./scripts/test-mongo-local.sh + ./scripts/test-local.sh mongo test-mongo-local: test-mongo-docker test-mongo-also-local: @echo "Running MongoDB tests with local core tests..." - ./scripts/test-mongo-local.sh --mode also-local + ./scripts/test-local.sh mongo memory pickle # New unified testing targets test-local: