When https://thenewstack.io/a-software-developers-guide-to-technical-writing/ are building their https://thenewstack.io/microservices/microservices-101/ for use inside https://thenewstack.io/containers/how-to-share-data-between-docker-containers/, it saves a great deal of time and effort for them to also test for various dependencies in parallel instead of starting from scratch after the app is done. As those dependency dots are connected, they often require changes to the app, which means doubling back and re-doing the code.

This is where something new called https://testcontainers.com/ comes to the proverbial rescue. Testcontainers is a library originally written in Java that helps developers run module-specific Docker containers while the app is being built in order to simplify integration testing.

In the background, Testcontainers utilizes its own containers to spin up the dependencies, Aleyner said.

Related Articles