Search⌘ K
AI Features

Introduction: Test First, Test Later, Test Never

Discover the nuances of test-driven development by learning when and where to write tests. Understand the impact of writing tests before or after code, contrast inside-out and outside-in testing strategies, and see how hexagonal architecture guides effective testing boundaries to improve design and testing efficiency.

We'll cover the following...

In this chapter, we’re going to review some of the nuances of TDD. We’ve already covered the broad techniques of writing unit tests as part of an overall test strategy.

Deciding the scope of tests

We can use the test pyramid and hexagonal architecture to guide ...