Skip to content

pytest

Skip to the problems!

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.

See the official pytest site for details and documentation.

How to install pytest

pip install pytest

How to import pytest

By convention,

import pytest