Nose is a library that makes testing easier and much more fun. It provides a whole lot of tools to enhance our tests. Although nose can be used for multiple purposes, the most important usage remains that of a test collector and runner. nose automatically collects tests from Python source files, directories, and packages found in the current working directory. In this recipe, we will focus on how to run individual tests using nose rather than the whole bunch of tests every time.
Nose library integration
Getting ready
First, we need to install the nose library:
$ pip3 install nose