With this chapter, we have entered part two of our book, which covers the development of enterprise-grade applications using Python. While part one of this book focused on how to build an enterprise-grade application with scalability and performance in mind, part two of this book focuses on the internal development aspects of the application, such as how we can make sure our application is secure, how well it is performing, and how to ship an application with the higher quality checks in place so as to minimize the occurrence of unexpected behaviors during the production phase.
In this chapter, we would like to bring your focus to a very important aspect of the enterprise application development or, for that sake, an important aspect for the development of any kind of application. This important aspect is the testability of the code.
Writing code that can...