Eric Deandrea
Test-Driven Development: It's easier than you think!
#1about 3 minutes
Understanding the principles of test-driven development
Test-driven development is introduced as a practical approach to ensure code quality by building a pet adoption application with a REST API, Kafka, and a Postgres database.
#2about 2 minutes
Setting up a new Quarkus project in IntelliJ
A new Quarkus application is created using IntelliJ, selecting necessary extensions like REST with Jackson, Hibernate ORM, and the Postgres driver.
#3about 1 minute
Exploring Quarkus Dev Mode and Dev Services
Quarkus Dev Mode provides live reloading and Dev Services automatically starts a Postgres container without manual configuration, streamlining the development workflow.
#4about 3 minutes
Using an AI assistant to generate a JPA entity
The IntelliJ AI assistant generates a complete JPA entity class for a pet from a detailed text prompt, accelerating the initial data model creation.
#5about 4 minutes
Writing persistence layer tests with QuarkusTest
Persistence layer tests are created using the `@QuarkusTest` and `@TestTransaction` annotations, which manage the application context and ensure database changes are rolled back after each test.
#6about 1 minute
Implementing the Panache repository to pass tests
The repository layer is implemented using Quarkus Panache, which simplifies database queries and allows the previously written failing test to pass.
#7about 6 minutes
Mocking and testing the REST layer with Rest Assured
The REST API layer is tested by mocking the repository dependency with `@InjectMock` and using the Rest Assured library to verify HTTP responses and status codes.
#8about 2 minutes
Implementing the REST resource with AI assistance
An AI assistant generates the full Jakarta REST resource class based on the test suite, demonstrating how to implement code that satisfies a predefined set of tests.
#9about 3 minutes
Using virtual threads and the Quarkus Dev UI
Endpoints are switched to run on virtual threads using a simple annotation, and the Quarkus Dev UI is showcased as a tool for inspecting the database and other extensions live.
#10about 1 minute
Summary and resources for getting started with Quarkus
The session concludes by highlighting how quickly a fully tested application was built and points to the Quarkus superheroes demo for further learning.
Related jobs
Jobs that call for the skills explored in this talk.
Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Continuous Integration
+1
Power Plus Communications
Mannheim, Germany
Intermediate
Senior
Python
Automated Testing
+1
Matching moments
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
03:58 MIN
Making accessibility tooling actionable and encouraging
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
03:07 MIN
Final advice for developers adapting to AI
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
09:10 MIN
How AI is changing the freelance developer experience
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
Featured Partners
Related Videos
Developer Joy with Quarkus
Daniel Oh
Write tests you love, not hate
Jens Happe
Quarkus. A Bliss for developers
Alex Soto
Like Spring, but Faster: The new Java Jedi
Eric Deandrea
Supercharge Agentic AI Apps: A DevEx-Driven Approach to Cloud-Native Scaffolding
Daniel Oh
Development of reactive applications with Quarkus
Niklas Heidloff
How Unit Testing Saved My Career
Annelore Egger
2021: Familiar APIs on Kickass Runtimes #slideless
Adam Bien
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


Labsoft
Canton of Pessac-2, France
Senior
Java
Angular
JavaScript
Elasticsearch

LegalySpace
Canton of Saint-Denis-1, France
Java
REST
MySQL
DevOps
Gitlab
+7

UserTesting
Barcelona, Spain
Go
Bash
Python
Node.js
CircleCI
+6

AddixGroup
Canton de Cagnes-sur-Mer-1, France
Intermediate
GIT
Java
JIRA
Maven
Kafka
+8

Sedenius Engineering GmbH
Dresden, Germany
API
JUnit
Python
Gitlab
Docker
+6

Test Driven Solutions
Edinburgh, United Kingdom
Intermediate
Java
MySQL
NoSQL
Scrum
Jenkins
+4

Akros Ag
Zürich, Switzerland
Junior
Java
Scrum
React
Docker
Angular
+7

Akros Ag
Zürich, Switzerland
Junior
Java
Scrum
React
Docker
Angular
+7