Chapter 2. Red-Green-Refactor – The TDD Cycle
In the previous chapter, we went through a small TDD cycle by creating a failing test and then making it pass. In this chapter, we are going to fill out the rest of the Stock
class by writing more tests. In the process, we will dig deeper into the TDD cycle and the unittest
module.