Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pytest-with-eric/pytest-tdd-example
How To Practice Test-Driven Development In Python? (Deep Dive)
https://github.com/pytest-with-eric/pytest-tdd-example
pytest-tdd python-tdd tdd
Last synced: 10 days ago
JSON representation
How To Practice Test-Driven Development In Python? (Deep Dive)
- Host: GitHub
- URL: https://github.com/pytest-with-eric/pytest-tdd-example
- Owner: Pytest-with-Eric
- Created: 2024-02-28T09:01:22.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-03-18T11:59:28.000Z (11 months ago)
- Last Synced: 2024-12-01T14:38:31.520Z (2 months ago)
- Topics: pytest-tdd, python-tdd, tdd
- Language: Python
- Homepage: https://pytest-with-eric.com/tdd/pytest-tdd/
- Size: 5.86 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python TDD Example (with Pytest)
This repo contains the sample code for the article - [How To Practice Test-Driven Development In Python? (Deep Dive)](https://pytest-with-eric.com/tdd/pytest-tdd/)
This project explains how to use Pytest to practice Test-Driven Development (TDD) in Python.
# Requirements
* Python (3.11+)Please install the dependencies via the `requirements.txt` file using
```commandline
pip install -r requirements.txt
```
If you don't have Pip installed please follow instructions online on how to do it.# How To Run the Unit Tests
To run the Unit Tests, from the root of the repo run
```commandline
pytest
```If you have any questions about the project please raise an Issue on GitHub.