This is an automated email from the ASF dual-hosted git repository.

maciej pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new 6205f3533 fix(docs): add guide for running C# integration tests 
locally (#2513)
6205f3533 is described below

commit 6205f3533aa22abaedcc7dc8950f4baef5cc0cf9
Author: tungtose <[email protected]>
AuthorDate: Tue Dec 23 17:52:07 2025 +0700

    fix(docs): add guide for running C# integration tests locally (#2513)
---
 foreign/csharp/README.md | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/foreign/csharp/README.md b/foreign/csharp/README.md
index 48fdb1205..c799e14b9 100644
--- a/foreign/csharp/README.md
+++ b/foreign/csharp/README.md
@@ -609,6 +609,34 @@ Integration tests are located in 
`Iggy_SDK.Tests.Integration/`. Tests can run ag
 - A dockerized Iggy server with TestContainers
 - A local Iggy server (set `IGGY_SERVER_HOST` environment variable)
 
+### Requirements
+
+- .NET 8 SDK
+- Docker (for TestContainers tests)
+
+### Running Integration Tests Locally
+
+#### 1. Dockerization
+
+```bash
+cargo build
+
+docker build --no-cache -f core/server/Dockerfile --platform linux/amd64 
--target runtime-prebuilt --build-arg 
PREBUILT_IGGY_SERVER=target/debug/iggy-server --build-arg 
PREBUILT_IGGY_CLI=target/debug/iggy -t local-iggy-server .
+```
+
+#### 2. Build the Test Project
+
+```bash
+dotnet build foreign/csharp/Iggy_SDK.Tests.Integration
+```
+
+#### 3. Run test
+
+```bash
+export IGGY_SERVER_DOCKER_IMAGE=local-iggy-server
+dotnet test foreign/csharp/Iggy_SDK.Tests.Integration --no-build --verbosity 
diagnostic
+```
+
 ## Useful Resources
 
 - [Iggy Documentation](https://iggy.apache.org/docs/)

Reply via email to