Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 599 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 599 Bytes

Pytest Common Mocking Problems Example

This repo contains the sample code for the article - Common Mocking Problems & How To Avoid Them (+ Best Practices)

Requirements

  • Python (3.12)

Create a virtual environment and install the dependencies using

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

How To Run the Unit Tests

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

pytest

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