8

TDD, BDD, and DDD

We have now covered all the core concepts of domain-driven design (DDD). However, you will often see the suite of acronyms that make up this chapter’s title in the same sentence, especially on job postings and résumés. What do they mean? Are they related to DDD?

In this chapter, we will do the following:

  • Discuss and give examples of TDD and BDD using Go
  • Talk about how TDD and BDD can be used alongside DDD to make your systems more resilient and maintainable

Technical requirements

In this chapter, we will write a large amount of Golang code. To be able to follow along, you will need the following:

  • Golang installed on your machine. You can find instructions to install it here: https://go.dev/doc/install. The following code ...

Get Domain-Driven Design with Golang now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.