November 2015
Beginner
250 pages
5h 16m
English
In this chapter, we shall learn how to write unit tests covering all parts of the blogging app. We will utilize Flask's test client to simulate live requests, and we will see how the Mock library can simplify the testing of complex interactions, such as calling third-party services such as databases.
In this chapter we shall learn the following topics:
Unit Testing is a process that allows us to have confidence in the code, confidence in bug fixes, and confidence ...