[AZ-1131] Align integration test docs with run-tests.sh

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-06-26 16:14:19 +03:00
parent 80ef5608f1
commit 184cbd5459
8 changed files with 99 additions and 14 deletions
+6 -6
View File
@@ -35,13 +35,10 @@ Swagger documentation: `http://localhost:5100/swagger`
### Run with Tests
```bash
docker-compose -f docker-compose.yml -f docker-compose.tests.yml up --build --abort-on-container-exit
./scripts/run-tests.sh
```
This command:
- Builds and starts all services
- Runs integration tests
- Exits when tests complete
This script runs unit tests, then integration tests via the self-contained `docker-compose.tests.yml` stack. Use `--smoke` for a fast subset or `--full` for the complete suite.
## Architecture
@@ -384,10 +381,13 @@ dotnet test
```
**Integration Tests:**
```bash
docker-compose -f docker-compose.yml -f docker-compose.tests.yml up --build --abort-on-container-exit
./scripts/run-tests.sh
```
See `_docs/02_document/tests/environment.md` for manual Compose invocation and environment variables.
### Database Migrations
Migrations run automatically on startup. SQL files are located in: