https://github.com/pytest-with-eric/pytest-mocking-vs-patching-example
Mocking Vs. Patching (A Quick Guide For Beginners)
https://github.com/pytest-with-eric/pytest-mocking-vs-patching-example
mocking-vs-patching pytest-mocking pytest-patch
Last synced: about 1 month ago
JSON representation
Mocking Vs. Patching (A Quick Guide For Beginners)
- Host: GitHub
- URL: https://github.com/pytest-with-eric/pytest-mocking-vs-patching-example
- Owner: Pytest-with-Eric
- Created: 2024-05-01T11:32:11.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-02T10:42:45.000Z (about 1 year ago)
- Last Synced: 2025-01-29T12:29:40.948Z (3 months ago)
- Topics: mocking-vs-patching, pytest-mocking, pytest-patch
- Language: Python
- Homepage: https://pytest-with-eric.com/mocking/mocking-vs-patching/
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pytest Mocking vs Patching Example
This repo contains the sample code for the article - [Mocking Vs. Patching (A Quick Guide For Beginners)](https://pytest-with-eric.com/mocking/mocking-vs-patching/)# Requirements
* Python (3.12+)Please install the dependencies via the `requirements.txt` file using
```bash
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
```bash
pytest
```If you have any questions about the project, please raise an Issue on GitHub.