docs: update integration test instructions to use make dev-int (#1868)

## Summary
- Simplified `CLAUDE.md` integration test instructions to use `make dev-int-build` and `make dev-int FILE=<TEST_FILE_NAME>` instead of manual docker compose steps
- Added `npx nx run-many -t ci:build` to `dev-int-build` Makefile target to ensure common-utils is built before running tests

You can now prompt 
```
run int tests for renderChartConfig
```
This commit is contained in:
Warren Lee 2026-03-09 22:38:43 +01:00 committed by GitHub
parent dda0f9a472
commit 84b0315f73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View file

@ -75,11 +75,9 @@ yarn test:e2e:ci # Run end-to-end tests in CI
**packages/api** (integration tests only):
```bash
docker compose -f ./docker-compose.ci.yml up -d # Start the integration test docker services
cd packages/api
yarn ci:int # Run integration tests
yarn dev:int # Watch mode for integration tests
cd ../.. && docker compose -f ./docker-compose.ci.yml down # Stop the integration test docker services
make dev-int-build # Build dependencies (run once before tests)
make dev-int FILE=<TEST_FILE_NAME> # Spins up Docker services and runs tests.
# Ctrl-C to stop and wait for all services to tear down.
```
**packages/common-utils** (both unit and integration tests):

View file

@ -37,6 +37,7 @@ ci-lint:
.PHONY: dev-int-build
dev-int-build:
npx nx run-many -t ci:build
docker compose -p int -f ./docker-compose.ci.yml build
.PHONY: dev-int