Summary & Quiz: Test First, Test Later, Test Never

Let's summarize the section and test yourself on what you have learned so far.

We'll cover the following

Section’s recap

This section has discussed the various stages at which we can write tests—before we write code, after we write code, or possibly even never. It has made a case for writing tests before code as providing the most value in terms of valid execution path coverage and developer ease.

We went on to review how hexagonal architecture interacts with both TDD and the test pyramid, leading to an opportunity to bring user story testing into the realm of FIRST unit tests. This allows the fast and repeatable validation of the core logic driving our user stories.

Quiz

Get hands-on with 1200+ tech skills courses.