Chapter 24. Testing Object-Oriented Programs
Skilled Python programmers agree that testing is one of the most important aspects of software development. Even though this chapter is placed near the end of the book, it is not an afterthought; everything we have studied so far will help us when writing tests. In this chapter, we'll look at the following topics:
- The importance of unit testing and test-driven development
- The standard
unittestmodule - The
pytestautomated testing suite - The
mockmodule - Code coverage
- Cross-platform testing with
tox