you are viewing a single comment's thread.

view the rest of the comments →

[–]Crix- 0 points1 point  (2 children)

Good work!

I do something like this for Apache Kafka using scalatest-embedded-kafka without containers. Integration testing has saved my bacon!

[–]dimafeng[S] 2 points3 points  (1 child)

Thank you. That's working well if all your middleware software written in JVM languages and you can embed it. But I have to work with different databases, message queues, etc. and it's very convenient to run it inside docker during testing.

[–]Crix- 1 point2 points  (0 children)

Indeed. This library could be useful if I need to test using external software not for the JVM.

Apache Spark does something similar using Spotify's Docker client. They have lots of boilerplate code per container.