# Modern Java Testing (#43)

> Episode of [Foojay.io | Friends of OpenJDK and Java Programming](https://podistic.com/podcast/foojayio-friends-of-openjdk-and-java-programming.md) · Published February 24, 2024 · Duration 1:20:02

- **Listen on Podistic:** https://podistic.com/episode/modern-java-testing-43
- **Audio:** https://anchor.fm/s/10b9c3cfc/podcast/play/111118732/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-10-13%2F412396162-48000-2-c20d547d46e2b724.mp3 (audio/mpeg)

## About this episode

As a developer we all want to write bug free and high quality code. Writing tests is a crucial part to achieve this. Let’s explore the art of ensuring robust and bug-free code in the Java ecosystem. Whether you're a seasoned developer or just starting out, there’s a lot you can learn from the experts in this podcast about testing methodologies, tools, and best practices, empowering you to write reliable Java applications. 

## Guests

### Oleg Šelajev

*   [https://www.linkedin.com/in/shelajev/](https://www.linkedin.com/in/shelajev/)
*   [https://medium.com/@shelajev](https://medium.com/@shelajev)
*   [https://twitter.com/shelajev](https://twitter.com/shelajev) 

### Roni Dover

*   [https://www.linkedin.com/in/ronidover/](https://www.linkedin.com/in/ronidover/)
*   [https://twitter.com/doppleware](https://twitter.com/doppleware) 

### Jonas Geiregat

*   [https://www.linkedin.com/in/jonas-geiregat-a8421a31/](https://www.linkedin.com/in/jonas-geiregat-a8421a31/)
*   [https://jonasg.io/posts/](https://jonasg.io/posts/)
*   [https://twitter.com/jonas\_grgt](https://twitter.com/jonas_grgt) 
*   [https://jonasg.io/posts/unit-test-ambiguity/](https://jonasg.io/posts/unit-test-ambiguity/) 

## Podcast

### Host: Frank Delporte

###

*   [https://foojay.social/@frankdelporte](https://foojay.social/@frankdelporte)
*   [https://www.linkedin.com/in/frankdelporte/](https://www.linkedin.com/in/frankdelporte/)

## Content

00:00 Introduction of the topic and guests  
02:38 Is the testing pyramid still valid?  
   https://jonasg.io/posts/relevance-of-the-classical-testing-pyramid/     
04:51 Introducing the Testing Honeycomb  
05:50 Changes in the architecture of application and testing frameworks  
06:52 What is the border between unit, system, and integration test?  
16:17 Unit tests as behavior tests  
21:11 Defining a testing strategy and the cost of change  
26:45 Your tests also need architecting  
31:18 How Testcontainers can simplify mocking and tests as a developer productivity tool  
40:20 The cost of flaky tests  
41:24 What type of feedback can we get from tests?  
49:24 Digma plugin for IntelliJIDEA  
49:49 Testing with AI  
59:47 Should developers love writing tests?  
01:18:40 Conclusion 

## Music

*   Barbershop John
*   Hermine Deurloo
*   Synapse by Shane Ivers - [https://www.silvermansound.com](https://www.silvermansound.com)
