Pytest is a unit testing framework for python that offers significantly more than the standard unittest module and nose test runner. For example, it supports parameterizing tests, and coverage analysis.
To install it:
- If you haven’t already, install pip:
sudo apt-get install python-pip
- Install pytest:
sudo pip install pytest