streamiz icon indicating copy to clipboard operation
streamiz copied to clipboard

Dotnet testcontainers support

Open LGouellec opened this issue 4 years ago • 4 comments

Description

Add some integration tests with dotnet testcontainers library

LGouellec avatar May 14 '21 12:05 LGouellec

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.

RogerSep avatar Jul 08 '21 20:07 RogerSep

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

LGouellec avatar Jul 09 '21 13:07 LGouellec

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

LincolnTx avatar May 23 '22 15:05 LincolnTx

@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

RogerSep avatar May 23 '22 21:05 RogerSep