Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit cbb97a8

Browse files
test: Updated readme
1 parent 4d3d205 commit cbb97a8

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ services:
108108
ports:
109109
- "1433:1433"
110110
user: "root"
111-
# volumes:
112-
# - db-data:/var/opt/mssql
113111
healthcheck:
114112
test:
115113
[

tests/ServiceLayer.IntegrationTests/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
The integration tests require the following environment variables to run:
1+
# Integration Tests
2+
3+
The integration tests start up docker containers using [compose.yaml](../../compose.yaml) and provide them with the environment variables defined in [.env.tests](.env.tests). Once the containers are up, the integration tests are executed, after the tests have finished, the containers are stopped.
4+
5+
## How to run the tests
6+
7+
To run the integration tests, you also need to pass the following environment variables as arguments when executing `dotnet test`:
28
- AZURITE_ACCOUNT_KEY
39
- AZURITE_ACCOUNT_NAME
410
- AZURITE_BLOB_PORT
@@ -7,7 +13,7 @@ The integration tests require the following environment variables to run:
713
- MESH_BLOB_CONTAINER_NAME
814
- DATABASE_CONNECTION_STRING
915

10-
They can be passed as arguments like so
16+
E.g.
1117
```sh
1218
dotnet test \
1319
-e AZURITE_ACCOUNT_KEY="Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==" \

0 commit comments

Comments
 (0)