Chapter 12. 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. We'll be studying:
- The importance of unit testing and test-driven development
- The standard
py.testautomated testing suite
- Code coverage
- Cross-platform testing with
A large collection of programmers already know how important it is to test their code. If you're among them, feel free to skim this section. You'll find the next section—where we actually see how to do the tests in Python—much more scintillating. ...