How to Use Pytest
Pytest is a mature full-featured testing tool for Python. It is useful when developing Python scripts. Pytest is not installed in the ADS Python installation.
The recommended steps to use Pytest are:
Create a Python virtual environment. See How to Set Up a Python Virtual Environment.
Activate the Python virtual environment.
Install pytest into the virtual environment.
pip install pytestRun pytest on your test scripts.
cd path/to/tests pytest