Skip to content

Commit 930d569

Browse files
committed
docs: update AGENTS local testing workflows
1 parent 98f137b commit 930d569

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

AGENTS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,13 @@ ______________________________________________________________________
439439
- `make test-all-local` - Test all backends with Docker
440440
- `make test-external` - Test all external backends
441441
- `make test-mongo-local` - Test MongoDB only
442+
- `make test-mongo-inmemory` - Test MongoDB marker set with local/in-memory setup
443+
- `make test-mongo-also-local` - Test MongoDB together with local core tests
442444
- `make test-redis-local` - Test Redis only
443445
- `make test-sql-local` - Test SQL only
444446
- `make services-start` - Start all Docker containers
445447
- `make services-stop` - Stop all Docker containers
448+
- `make services-logs` - Tail logs for Dockerized test services
446449

447450
**Available Cores:**
448451

@@ -462,8 +465,11 @@ ______________________________________________________________________
462465
- `-k, --keep-running` - Keep containers running after tests
463466
- `-h, --html-coverage` - Generate HTML coverage report
464467
- `-f, --files` - Run only specific test files
468+
- `-p, --parallel` - Run tests with `pytest-xdist`
469+
- `-w, --workers` - Set number of parallel workers (default: `auto`)
465470

466471
**Note:** External backends (MongoDB, Redis, SQL) require Docker. S3, memory, and pickle backends work without Docker.
472+
You can also set cores with `CACHIER_TEST_CORES="mongo redis" ./scripts/test-local.sh`.
467473

468474
______________________________________________________________________
469475

0 commit comments

Comments
 (0)