LGouellec / streamiz

.NET Stream Processing Library for Apache Kafka 🚀
https://lgouellec.github.io/streamiz/
MIT License
470 stars 75 forks source link

Dotnet testcontainers support #77

Closed LGouellec closed 2 years ago

LGouellec commented 3 years ago

Description

Add some integration tests with dotnet testcontainers library

RogerSep commented 3 years ago

I actually have some written in my application using your library. I can upload some for you but I don't know where to put them.

LGouellec commented 3 years ago

I would use dotnet test container to start a real Kafka broker and write integration tests.

You can inspire these unit tests adding containers & producer/consumer assert : https://github.com/LGouellec/kafka-streams-dotnet/blob/develop/test/Streamiz.Kafka.Net.Tests/Public/KafkaStreamTests.cs

LincolnTx commented 2 years ago

RogerSep Hello could share this with me? I'm starting write test in my application and it would be a great help

RogerSep commented 2 years ago

@LincolnTx I have a PR with them, but I never followed through after the feedback. I'll try to find some time to address the feedback.

https://github.com/LGouellec/kafka-streams-dotnet/pull/82/files