TestContainers is a great project for integration tests, mocking, and even for Chaos Engineering. Scala TestContainers is the library in the form of idiomatic-scala with some sugar to make it even easier to use it. I want to show you guys how we can use Scala Test Containers in an SBT 1.5.0 Project using Scala Spec in order to test as MySQL docker container. So let’s get started!
scala-playground/testcontainers-scala at master · diegopacheco/scala-playground
Scala Code using scala libraries and frameworks, it`s a playground for fun with Scala. …
Originally published at http://diego-pacheco.blogspot.com on October 29, 2021.