Skip to content
  • HOME
  • BLOG
Linkedin Github
Singleton container with Testcontainers library
java · libraries

Singleton container with Testcontainers library

ByOskar Bogacz 2 August 202229 November 2022

Testcontainers library is a perfect tool for providing Docker containers with external components from an integration test class level. With this tool, we are able to check how our codebase behaves with a real-life external system. But running an instance of a container for every test class sounds like poison…

Read More Singleton container with Testcontainers libraryContinue

Testcontainers library for integration tests
java · libraries

Testcontainers library for integration tests

ByOskar Bogacz 28 July 202212 August 2022

Sometimes when I needed to write integration tests, I was forced to mock an external system or service from the java tests level. It wasn’t enjoyable and what is more, it required spending many hours on creating a codebase which tried to behave like a real system. It is dangerous…

Read More Testcontainers library for integration testsContinue

© 2024 Oskar Bogacz

  • HOME
  • BLOG