This repository contains example code for the Behavior-Driven Python with pytest-bdd framework.
This project requires an up-to-date version of Python 3. It also uses pipenv to manage packages.
To set up this project on your local machine:
Clone it from this GitHub repository. Run pipenv install from the command line in the project's root directory. For Web UI tests, install the appropriate browser and WebDriver executable. These tests use Firefox and geckodriver. Running Tests Run tests simply using the pytest command. Depending upon your environment, it may be better to use python -m pytest. If you are using pipenv, then run pipenv run python -m pytest. Use the "-k" option to filter tests by tags.