Test Driven Development It’s Easier Than You Think
summary
Claims that generative AI produces code from tests and that passing, trusted tests can yield production-ready prototypes. Live coding builds a pet-adoption REST service: Quarkus + Hibernate with Panache, Postgres devservices (container launched automatically), OpenAPI, JIB, and Kafka messaging with an in-memory connector. Tests use Quarkus continuous testing, transactional rollback, RestAssured, Mockito, AssertJ and Awaitility; repository methods, locking and a Kafka listener are implemented until tests go green within the ~40–45 minute demo.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 6:40Why TDD matters
- 10:32TDD approaches
- 17:14Building the app
- 23:17Writing first tests
- 32:32REST layer tests
- 40:45AI in code generation
- 45:18Adding Kafka integration
- 54:35Resources and wrap-up
related talks
30mTest-Driven Development: It's easier than you think!
48mIntegration Testing with Quarkus.
47mProd like Integration Testing for Cloud Native Microservices
50mDeveloping AI applications in Java with Quarkus and Langchain4j
34mWrite tests that spark flow
56mWrite Tests That Spark Flow
45mTDD & generative AI - a perfect pairing?
36mCrafting Intelligent Cloud Native applications with Quarkus
