Thin-wrapper around the mock package for easier use with pytest
☆2,024Jun 5, 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,039Apr 24, 2026Updated last month
- Asyncio support for pytest☆1,644Updated this week
- The pytest framework makes it easy to write small tests, yet scales to support complex functional testing☆13,883Updated this week
- pytest plugin for distributed testing and loop-on-failures testing modes.☆1,862Updated 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,530Dec 12, 2025Updated 5 months ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- A Django plugin for pytest.☆1,535Jun 1, 2026Updated last week
- A Python utility / library to sort imports.☆6,944May 31, 2026Updated last week
- A utility for mocking out the Python Requests library.☆4,349Updated this week
- Let your Python tests travel through time☆4,514Aug 19, 2025Updated 9 months ago
- factory_boy integration the pytest runner☆400May 26, 2026Updated last week
- Pytest plugin to randomly order tests and control random.seed☆710Updated this week
- BDD library for the pytest runner☆1,451Updated this week
- A plugin to improve the output of pytest with colourful unified diffs☆457Feb 18, 2024Updated 2 years ago
- Python packaging and dependency management made easy☆34,272Updated this week
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Data validation using Python type hints☆27,961Updated this week
- Retrying library for Python☆8,638Updated this week
- A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodest…☆1,116May 29, 2026Updated last week
- Collection of library stubs for Python, with static types☆5,070Updated this week
- A next generation HTTP client for Python. 🦋☆15,279Mar 29, 2026Updated 2 months ago
- pytest fixture for benchmarking code☆1,435Mar 26, 2026Updated 2 months ago
- 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,777May 30, 2026Updated last week
- A test fixtures replacement for Python☆3,797Jan 1, 2026Updated 5 months ago
- Optional static typing for Python☆20,460Updated this 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,797Updated this week
- A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.☆4,094May 19, 2026Updated 2 weeks ago
- Simplified packaging of Python modules☆2,248Apr 29, 2026Updated last month
- A framework for managing and maintaining multi-language pre-commit hooks.☆15,300May 29, 2026Updated last week
- The uncompromising Python code formatter☆41,528Updated this week
- The property-based testing library for Python☆8,671Updated this week
- A lightweight library for converting complex objects to and from simple Python datatypes.☆7,241Updated this week
- Mocked responses for the requests library☆468Jul 15, 2024Updated last year
- A set of tools to keep your pinned Python dependencies fresh.☆8,004May 25, 2026Updated last week
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- The code coverage tool for Python☆3,380Updated this week
- Simple, powerful, and fast logging for Python.☆4,818Updated this week
- The little ASGI framework that shines. 🌟☆12,365Updated this week
- Easily freeze time in pytest test + fixtures☆197Mar 28, 2023Updated 3 years ago
- Python composable command line interface toolkit☆17,512May 30, 2026Updated last week
- Python Development Workflow for Humans.☆25,071May 25, 2026Updated last week
- A database migrations tool for SQLAlchemy.☆4,172May 31, 2026Updated last week