From version < 6.1 >
edited by Vincent Massol
on 2019/10/31 16:18
To version < 7.1
edited by Vincent Massol
on 2019/10/31 16:19
<
Change comment: There is no comment for this version

Summary

Details

PresentationIdea.Code.PresentationGivenClass[0]
Date
... ... @@ -1,0 +1,1 @@
1 +2019-06-12 00:00:00.0
Presenter
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.VincentMassol
Event
... ... @@ -1,0 +1,1 @@
1 +OW2'Con
URL
... ... @@ -1,0 +1,1 @@
1 +https://www.ow2con.org/view/2019/Videos
PresentationIdea.Code.PresentationIdeaClass[0]
Description
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

Get Connected