Thin-wrapper around the mock package for easier use with pytest
☆2,021Apr 2, 2026Updated this week
Alternatives and similar repositories for pytest-mock
Users that are interested in pytest-mock are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Coverage plugin for pytest.☆2,027Mar 21, 2026Updated 2 weeks ago
- Asyncio support for pytest☆1,628Mar 31, 2026Updated last week
- The pytest framework makes it easy to write small tests, yet scales to support complex functional testing☆13,730Updated this week
- pytest plugin for distributed testing and loop-on-failures testing modes.☆1,823Updated this week
- a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)☆1,520Dec 12, 2025Updated 3 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click and start building anything your business needs.
- A Django plugin for pytest.☆1,526Apr 1, 2026Updated last week
- A Python utility / library to sort imports.☆6,923Updated this week
- A utility for mocking out the Python Requests library.☆4,335Mar 23, 2026Updated 2 weeks ago
- Let your Python tests travel through time☆4,500Aug 19, 2025Updated 7 months ago
- factory_boy integration the pytest runner☆397Mar 30, 2026Updated last week
- Pytest plugin to randomly order tests and control random.seed☆700Updated this week
- BDD library for the pytest runner☆1,436Mar 30, 2026Updated last week
- A plugin to improve the output of pytest with colourful unified diffs☆456Feb 18, 2024Updated 2 years ago
- Python packaging and dependency management made easy☆34,262Updated this week
- NordVPN Special Discount Offer • AdSave on top-rated NordVPN 1 or 2-year plans with secure browsing, privacy protection, and support for for all major platforms.
- Data validation using Python type hints☆27,344Updated this week
- Retrying library for Python☆8,506Mar 23, 2026Updated 2 weeks ago
- A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodest…☆1,112Mar 16, 2026Updated 3 weeks ago
- Collection of library stubs for Python, with static types☆5,034Updated this week
- A next generation HTTP client for Python. 🦋☆15,152Mar 29, 2026Updated last week
- pytest fixture for benchmarking code☆1,425Mar 26, 2026Updated last week
- Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-fa…☆8,713Mar 9, 2026Updated 3 weeks ago
- A test fixtures replacement for Python☆3,783Jan 1, 2026Updated 3 months ago
- Optional static typing for Python☆20,338Apr 1, 2026Updated last week
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Python Classes Without Boilerplate☆5,760Mar 30, 2026Updated last week
- A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.☆4,061Updated this week
- Simplified packaging of Python modules☆2,245Mar 15, 2026Updated 3 weeks ago
- A framework for managing and maintaining multi-language pre-commit hooks.☆15,112Mar 23, 2026Updated 2 weeks ago
- The uncompromising Python code formatter☆41,441Mar 30, 2026Updated last week
- The property-based testing library for Python☆8,575Mar 29, 2026Updated last week
- A lightweight library for converting complex objects to and from simple Python datatypes.☆7,230Updated this week
- Mocked responses for the requests library☆468Jul 15, 2024Updated last year
- A set of tools to keep your pinned Python dependencies fresh.☆7,999Mar 30, 2026Updated last week
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click and start building anything your business needs.
- The code coverage tool for Python☆3,356Mar 29, 2026Updated last week
- Simple, powerful, and fast logging for Python.☆4,692Updated this week
- The little ASGI framework that shines. 🌟☆12,166Apr 2, 2026Updated last week
- Easily freeze time in pytest test + fixtures☆196Mar 28, 2023Updated 3 years ago
- Python composable command line interface toolkit☆17,355Updated this week
- Python Development Workflow for Humans.☆25,096Updated this week
- Mock HTTPX with awesome request patterns and response side effects 🦋☆779Nov 17, 2025Updated 4 months ago