Skip to content

Pytest-with-Eric/pytest-bdd-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.