David Pilato
David Pilato
Developer | Evangelist
  • Archives
  • Talks
  • About me
  • All Categories
  • All Tags
  • RSS
Testcontainers pour de vrais tests d’intégration d’Elasticsearch

Testcontainers pour de vrais tests d’intégration d’Elasticsearch

Devfest Lille – Lille 🇫🇷

Jun. 2019

David Pilato
David Pilato
Testcontainers pour de vrais tests d’intégration d’Elasticsearch

Abstract

Les tests d’intégration peuvent devenir un cauchemar lorsqu’ils sont lancés depuis la même JVM que votre code:

  • Conflit de JARs (JAR Hell)
  • Security Manager
  • Effets de bord

De plus, tester avec un produit qui est lancé de façon différente de la façon dont il est lancé en production, ne garantira jamais que les tests d’intégration sont sincères.

Aussi, après avoir découvert le projet Testcontainers qui lance des conteneurs Docker, j’ai décidé d’écrire une implémentation pour Elasticsearch: testcontainers-java-module-elasticsearch. Je vous propose de découvrir tout cela pendant cette session.

Video

Resources

The following resources were mentioned during the presentation or are useful additional information.

Demo: elasticsearch-integration-tests repository

This repository contains the code for the elasticsearch-integration-tests demo.

Repository: Elasticsearch Module for TestContainers

This repository contains the code for the Elasticsearch Module for TestContainers.

Documentation: Elasticsearch TestContainers module

This documentation contains the information about the Elasticsearch TestContainers module.

Buzz and feedback

Here's what was said about this presentation on social media.

And #elkie is backstage at @DevfestLille. 🎬🎥📽🤗 pic.twitter.com/2DEx2TePOP

— David Pilato 🇺🇦🇪🇺🇫🇷 (@dadoonet) June 14, 2019

Testcontainers pour de vrais tests d'intégration d'Elasticsearch avec l'excellent @dadoonet, merci ! #DevFestLille pic.twitter.com/UIvBPNWOhJ

— François Delbrayelle (@fdelbrayelle) June 14, 2019

@dadoonet nous présente #testcontainer pour des tests avec Elasticsearch :) #DevfestLille2019 #DevFestLille pic.twitter.com/7neKGBqG2W

— Matthieu Masztalir (@mattmasztalir) June 14, 2019
Previous page Enriching postal addresses with Elastic stack
Next page Panel discussion: all about open source

© 2010 - 2026 David Pilato

Search is powered by Pagefind. Just hit CTRL+K or CMD+K to start searching.

Powered by Hugo with Dream and Devrel themes.

Details

I discovered Elasticsearch project in 2011. After contributed to the project and created open source plugins for it, David joined elastic the company in 2013 where he is Developer and Evangelist. He also created and still actively managing the French spoken language User Group. At elastic, he mainly worked on Elasticsearch source code, specifically on open-source plugins. In his free time, he likes talking about elasticsearch in conferences or in companies (Brown Bag Lunches AKA BBLs). He is also author of FSCrawler project which helps to index your pdf, open office, whatever documents in elasticsearch using Apache Tika behind the scene.

Who am I?

Developer | Evangelist at elastic and creator of the Elastic French User Group. Frequent speaker about all things Elastic, in conferences, for User Groups and in companies with BBL talks. In my free time, I enjoy coding and deejaying as DJ Elky, just for fun. Living with my children in Cergy, France.

Social Links

© 2010 - 2026 David Pilato

Search is powered by Pagefind. Just hit CTRL+K or CMD+K to start searching.

Powered by Hugo with Dream and Devrel themes.