Configuration Testing with Docker & TestContainers

Last modified by Vincent Massol on 2019/10/31 16:19

Proposed By
Duration
60 mn
Audience
Advanced
Abstract

As a developer, it really helps being able to debug on one's own machine a problem that happened in production, in a given configuration of the software! This is what the TestContainers framework allows doing. It lets you drive Docker directly from within your unit tests and thus to have a very efficient mechanism to run your functional tests in a given environment.

This session will present TestContainers, applied to a real use case (XWiki), with a demonstration of how to use it for writing tests involving a database, a Servlet engine and more. What will be shown: JUnit5 integration, creating a custom Docker image right from within your unit tests, automatic recording of videos of running tests and integration with a Jenkins pipeline to iterate over all the configurations to test.

Language
English

Presented At

Tags:
Created by Vincent Massol on 2019/10/31 15:51
   

Get Connected