Chapter 10. Debugging, Error Handling, and Testing

Until now, in this book, we have concentrated on developing applications and adding features to them one at a time. It is very important to know how robust our application is and keep track of how the application has been working and performing. This, in turn, gives rise to the need of being informed when something goes wrong in the application. It is normal to miss out on certain edge cases while developing an application, and usually, even the test cases miss them out. It will be great to know these edge cases whenever they occur so that they can be handled accordingly.

Testing in itself is a very huge topic, and has several books attributed to it. Here, we will try to understand the basics of ...

Get Flask Framework Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.