World Congress 2025 • Aug 20, 2025 • Session details

Test-Driven Development: It's easier than you think!

Eric Deandrea

Think TDD is a rigid chore? Discover how combining Java 21, Quarkus, and AI lets you build fully test-covered microservices in a fraction of the time.

Pause
Mute Enter Fullscreen
#1 about 2 min

Adopting a pragmatic approach to test-driven development

Finding the middle ground between TDD purists and reality to improve deployment confidence.

#2 about 2 min

Introducing the sample pet adoption application

Designing the architecture of a RESTful application utilizing Postgres and Apache Kafka.

#3 about 2 min

Scaffolding a Quarkus application with dependencies

Selecting required dependency layers including REST Jackson, Hibernate ORM, and database connectors.

#4 about 2 min

Running Quarkus dev mode and automatic database provisioning

Starting a live development environment that automatically provisions a Postgres container utilizing Dev Services.

#5 about 4 min

Generating JPA entities and test dependencies using AI

Configuring test frameworks alongside using an AI assistant to generate a custom JPA entity.

#6 about 3 min

Setting up test transactions for the persistence layer

Creating the Panache repository and applying test transactions to rollback database state between executions.

#7 about 3 min

Implementing the Panache repository and executing queries

Writing assertions for data retrieval and utilizing Panache shorthand syntax for database operations.

#8 about 6 min

Mocking repository endpoints with Mockito and REST Assured

Building REST layer tests by stubbing repository responses and validating payloads with Hamcrest.

#9 about 3 min

Generating the Jakarta REST resource using AI prompts

Instructing the AI assistant to implement the REST endpoint while applying specific coding conventions.

#10 about 3 min

Enabling virtual threads and exploring the Quarkus Dev UI

Upgrading endpoints to utilize Java 21 virtual threads and inspecting the database through the integrated developer interface.

#11 about 1 min

Reviewing the finished application and additional resources

Wrapping up the live coding session and introducing the Quarkus Superheroes sample project for further exploration.

Matching moments

5:42 min

Introduction to developer joy and the Quarkus ecosystem

Daniel Oh Daniel Oh · WWC 2025

2:51 min

Running the modernized Quarkus application with test containers

Daniel Oh Daniel Oh · WWC 2024

6:31 min

Audience Q&A on CDK implementation and automated testing

Alexander Bubeck · WWC 2023

4:00 min

Adopting test-driven design as a strategic development methodology

Mirjam Aulbach · WWC 2022

3:01 min

Bootstrapping a Quarkus AI project with MCP integrations

Daniel Oh Daniel Oh · WWC 2025

8:08 min

Addressing questions on development practices and testing strategies

Mesut Ayata Mesut Ayata · WWC 2024

Upcoming sessions on this topic

Open session

World Congress 2026 North America

Reinventing Testing Practices in the AI Era

Eric Deandrea

Java Champion & Senior Principal Software Engineer, IBM

Eric Deandrea
Open session

World Congress 2026 North America

Look What Java Can Do Now: Live-Coding a GenAI MCP Server with the JAQ Stack

Suren Konathala

Senior Engineering Leader, Marketing & AdTech, AI GTM & Digital Experience Platforms, Java x AI

Suren Konathala
Open session

World Congress 2026 North America

Testing React Backends Like a Pro: Mocking Databases with SQLite

David Morris

Solution Architect

David Morris
Open session

World Congress 2026 North America

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Paweł Matynia, Bartosz Leczycki

Paweł Matynia
Bartosz Leczycki
Open session

World Congress 2026 North America

API = Some REST and HTTP, right? RIGHT?!

Rustam Mehmandarov

Passionate computer scientist

Rustam Mehmandarov
Open session

World Congress 2026 North America

Ship 10x Faster: AI-Powered Development with Claude Code and MCP Tools

Viktoria Semaan

Principal Technical Evangelist at Databricks

Viktoria Semaan