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

[DevConf.us] Test-Driven Development: It's easi...

[DevConf.us] Test-Driven Development: 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 dive 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 of imperative and reactive RESTful and event-driven applications that use common services, such as databases and Kafka brokers. 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!

Avatar for Eric Deandrea

Eric Deandrea PRO

September 19, 2025
Tweet

More Decks by Eric Deandrea

Other Decks in Technology

Transcript

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

    Principal Software Engineer @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 Vice Chair & 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