Integration Testing with Docker and Testcontainers

The process of developing an application typically involves the work of multiple engineers, and that work is usually broken down into several modules. There is always a risk that modules developed by different engineers will not sync when integrating with each other for use in production. Integration testing helps minimize this risk by enabling better integration of modules. But many organizations struggle with maintaining tests that require more complex setup procedures. As a result, integration tests become flaky, unreliable and require manual intervention. In an automate-all-the-things world, this costs organizations time and money.

Join us for this session and discover how to set up and run integration and functional tests with the help of the open source library Testcontainers. You will learn how to stand up lightweight, disposable containers running your application as reliable test fixtures.

Prerequisites:

  • A basic understanding of Docker and the Java programming language
  • Hands-on experience with common Java frameworks and dependencies
  • Experience with writing test code with the test framework JUnit 4 or JUnit 5

About Benjamin Muschko

Benjamin Muschko is a software engineer, consultant, and trainer with more than 20 years of experience in the industry. He specializes in cloud-native application development and transformation, container solutions, DevSecOps, and Continuous Integration/Continuous Delivery implementations. Ben is an author, a frequent speaker at conferences, and an avid open source advocate.

More About Benjamin »