https://github.com/pytest-with-eric/pytest-bdd-example
A Complete Guide To Behavior-Driven Testing With Pytest BDD
https://github.com/pytest-with-eric/pytest-bdd-example
bdd-tests feature-testing gherkin-language pytest-bdd
Last synced: 11 months ago
JSON representation
A Complete Guide To Behavior-Driven Testing With Pytest BDD
- Host: GitHub
- URL: https://github.com/pytest-with-eric/pytest-bdd-example
- Owner: Pytest-with-Eric
- Created: 2024-02-20T19:01:33.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-04T08:11:10.000Z (almost 2 years ago)
- Last Synced: 2025-01-29T12:29:43.920Z (about 1 year ago)
- Topics: bdd-tests, feature-testing, gherkin-language, pytest-bdd
- Language: Python
- Homepage: https://pytest-with-eric.com/bdd/pytest-bdd/
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pytest BDD Testing Example
This repo contains the sample code for the article - [A Complete Guide To Behavior-Driven Testing With Pytest BDD](https://pytest-with-eric.com/bdd/pytest-bdd/).
# Requirements
* Python (3.12)
Please install the dependencies via the `Pipfile` file using
```bash
$ pipenv shell
$ pipenv install --dev
```
If you don't have Pip installed, please follow instructions online on how to do it.
See [this guide](https://realpython.com/pipenv-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
```bash
pytest -v
```
If you have any questions about the project, please raise an Issue on GitHub.