Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 698 Bytes

File metadata and controls

22 lines (17 loc) · 698 Bytes

Pytest BDD Testing Example

This repo contains the sample code for the article - A Complete Guide To Behavior-Driven Testing With Pytest BDD.

Requirements

  • Python (3.12)

Please install the dependencies via the Pipfile file using

$ pipenv shell  
$ pipenv install --dev

If you don't have Pip installed, please follow instructions online on how to do it.

See this guide for instructions how to use Pipenv.

How To Run the Unit Tests

To run the Unit Tests from the root of the repo, run

pytest -v

If you have any questions about the project, please raise an Issue on GitHub.