Mockedstreams for unit testing!
s3ni0r opened this issue ยท 2 comments
Hi,
I have been learning about Kafka streams lately using Scala, and came across this repo which is perfect
this will enable developers to fiddle with Kafka streams in a lightweight manner.
Thanks!
Mocking is an option for unit tests, but to be honest infrastructure stuff like Kafka needs some integration testing. Hence all the tests are full examples using embedded Kafka server. These are in reality not unit tests, but integration tests. If you look at Confluent's example repositories, they also do the same thing.
Ok, i see your point, thanks for taking the time to answer.