The Test Pyramid
Explore how to apply the test pyramid concept to Hexagonal Architecture testing. Understand the distinctions between unit, integration, and system tests and how to efficiently cover each testing layer to maintain a reliable, maintainable web application backend.
We'll cover the following...
Introduction
In many projects, automated testing is a mystery. Everyone writes tests as they see fit because it is required by some dusted rule documented in a wiki, but no one can answer targeted questions about the team’s testing strategy.
This chapter provides a testing strategy for a Hexagonal Architecture. For each element of our architecture, we’ll discuss the type of test that covers it.
Let’s start the discussion about testing along the lines of the