I’ll show you how to get started with pytest, the most popular testing framework in Python.
What you’ll learn in this lesson:
How to install pytest
How to create Python functions (addition and multiplication)
How to write tests in test_module.py
How to run tests from the terminal
How to use @pytest.mark.parametrize to test multiple cases with a single function