Skip to content

Pytest-with-Eric/pytest-overmocking-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages