Summary

Summarize the concept explored in this chapter regarding testing object-oriented programs in Python.

We'll cover the following...

Recall

In this chapter, we’ve looked at a number of topics related to testing applications written in Python. These topics include the following:

  • We described the importance of unit testing and test-driven development as a way to be sure our software does what is expected.

  • We started by using the unittest module because it’s part of the standard library and readily available. It seems a little wordy, but otherwise works well for confirming that our software works.

  • The pytest tool requires a separate installation, but it seems to produce tests that are slightly simpler ...