Testing Architecture Elements
In many projects I’ve witnessed, especially projects that have been around for a while and have rotated in and out many developers over time, automated testing is a mystery. Everyone writes tests as they see fit because it’s required by some dusty rule documented in a wiki, but no one can answer targeted questions about a 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 to cover it.