We will open this chapter with the topic of testing, specifically unit testing. As usual, we will examine the theoretical background of the practice in Python and then move on to learn about how PyCharm helps facilitate the process. You are welcome to skim through the theoretical discussion if you are already familiar with the concept and practice of unit testing, but a full read-through is still encouraged.
Testing
Unit testing fundamentals
Intuitively, testing in software development is used to look for inconsistencies and errors in our programs and code. The difference between testing and debugging, which is discussed in the next section of this chapter, is that testing is about looking for the indication of bugs in our...