What is it about?
The article is about software testing in Python. In particular, it talks about unit testing in Python using two different frameworks: unittest and pytest.
If you don’t know anything about it, software testing is the process of examining the behavior of a software product to evaluate and verify that it’s coherent with the specifications. Software products can have thousands of lines of code, and hundreds of components that work together. If a single line doesn’t work properly, the bug can propagate and cause other errors.
So, to be sure that a program acts as it’s supposed to, it has to be tested!
Summary
In this article, you will learn:
- What is software testing
- How to design a testing strategy
- How to run Python unit tests with
unittest
andpytest
, two key frameworks for Python unit testing
Check out the full article I wrote on SitePoint!