Upgrade to Pro — share decks privately, control downloads, hide ads and more …

7/10/25 - WeAreDevs - TDD - It's easier than yo...

7/10/25 - WeAreDevs - TDD - It's easier than you think!

Everyone loves writing tests, don’t they? How do you write good tests? What tools are available for you to write good tests?

In this session, I will give a whirlwind introduction into the many features of Quarkus that help developers write good tests. I will highlight some of the features of Quarkus, Dev Services and Continuous Testing, which help make testing easier. Additionally, I will live code some tests for common use cases developers encounter, including unit, integration, and “black box” testing. I will discuss techniques such as mocking, spying, and interaction-based testing/verification.

I'll even spend some time showing how IDE-based AI assistants can help!

Once you see how easy TDD really can be there isn't a reason to not do it!

Eric Deandrea PRO

July 10, 2025

Transcript

22 slides
  1. It’s easier than you think! Eric Deandrea Java Champion Sr.

    Principal Developer Advocate @edeandrea Test-Driven Development
  2. @edeandrea Who am I? ▸ Java Champion ▸ 26+ years

    software development experience ▸ Contributor to Open Source projects ・ Quarkus ・ Spring Boot, Spring Framework, Spring Security ・ LangChain4j & Quarkus LangChain4j ・ Wiremock ・ Microcks ▸ Boston Java Users ACM Chapter Board Member ▸ Published Author
  3. @edeandrea • Showcase & explain Quarkus, how it enables modern

    Java development & the Kubernetes-native experience • Introduce familiar Spring concepts, constructs, & conventions and how they map to Quarkus • Equivalent code examples between Quarkus and Spring as well as emphasis on testing patterns & practices https://red.ht/quarkus-spring-devs

More Decks by Eric Deandrea

Other Decks in Technology