Beyond Acceptance Testing: Domain-Driven Tests

Friday afternoon 14:00 - 16:00 CET (UTC+1)

Speakers

Uberto Barbini

Description

We needed to validate our use cases with tests that:

  • specify the user intents, not the technical details
  • are human-readable (but without regex tricks)
  • verify our hexagonal architecture running both end-to-end and in the domain only
  • can guide our architecture like unit-tests are driving our design

This talk is about how we solved these problems with the Domain-Driven Testing approach and how you can apply this technique on your own backend application.

A demonstration with live coding will show how to write them and use it to drive the development.

I will present a library created to make it easier to write them: https://github.com/uberto/pesticide

This talk will teach you a new approach to test your system that can be immediately useful, especially if you are aiming for continuous delivery.

Practical information

To get the most from the workshop:

  1. please come with a IDE already configured to run Kotlin on your machine (you can download IntelliJ CE from here https://www.jetbrains.com/idea/download)

  2. clone locally the github repo https://github.com/uberto/h4kcluster-quarkus

  3. (optional) read the blog post https://medium.com/javarevisited/beyond-traditional-acceptance-tests-79cbcee63eda

About Uberto Barbini

Passionate Programmer Twitter LinkedIn Blog Company Website

Uberto is an expert on building software products, currently working with finance institutions in London. He has more than two decades experience in building great products. He is practicing TDD and Agile since 2001. He writes technical articles, regularly speaks at conference around Europe and organises courses. He is experienced in designing and implementing software architectures and he believes in the agile manifesto values and principles. He is also a passionate polyglot programmer, he started as a kid with a ZxSpectrum he hopes to continue for many years to come.