Chapter 18. Beyond Unit Testing
As you grow accustomed to writing unit tests, you’ll most likely appreciate the security and feedback they provide, and you’ll want the same for bigger building blocks and their interactions.
Until now, many topics have been illustrated with unit tests. It’s quite natural, because they constitute the basis of developer testing and embody many of the principles behind more complex tests. Besides, they can be kept small and to the point, which is rather helpful when explaining a concept or technique. If you get the low-level unit tests right, shifting toward higher-level tests, like integration tests or end-to-end tests, is relatively easy. Still, there are some differences and pitfalls worth mentioning.
This closing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access