Thin-wrapper around the mock package for easier use with pytest
☆2,015Feb 16, 2026Updated last week
Alternatives and similar repositories for pytest-mock
Users that are interested in pytest-mock are comparing it to the libraries listed below
Sorting:
- Coverage plugin for pytest.☆2,008Dec 15, 2025Updated 2 months ago
- Asyncio support for pytest☆1,617Updated this week
- The pytest framework makes it easy to write small tests, yet scales to support complex functional testing☆13,648Updated this week
- pytest plugin for distributed testing and loop-on-failures testing modes.☆1,804Updated 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,517Dec 12, 2025Updated 2 months ago
- A Django plugin for pytest.☆1,517Feb 19, 2026Updated last week
- A Python utility / library to sort imports.☆6,906Feb 19, 2026Updated last week
- Let your Python tests travel through time☆4,492Aug 19, 2025Updated 6 months ago
- A utility for mocking out the Python Requests library.☆4,322Feb 19, 2026Updated last week
- factory_boy integration the pytest runner☆398Updated this week
- Pytest plugin to randomly order tests and control random.seed☆696Feb 14, 2026Updated last week
- BDD library for the pytest runner☆1,432Feb 16, 2026Updated last week
- Collection of library stubs for Python, with static types☆5,009Updated this week
- A plugin to improve the output of pytest with colourful unified diffs☆456Feb 18, 2024Updated 2 years ago
- Data validation using Python type hints☆26,977Updated this week
- Retrying library for Python☆8,393Updated this week
- Simplified packaging of Python modules☆2,241Feb 12, 2026Updated 2 weeks ago
- Python Classes Without Boilerplate☆5,736Updated this week
- pytest fixture for benchmarking code☆1,415Feb 16, 2026Updated last 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,111Updated this week
- Python packaging and dependency management made easy☆34,279Updated this week
- Optional static typing for Python☆20,243Updated this week
- A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.☆4,045Dec 22, 2025Updated 2 months ago
- A next generation HTTP client for Python. 🦋☆15,099Updated this week
- A test fixtures replacement for Python☆3,776Jan 1, 2026Updated last month
- 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,663Jan 12, 2026Updated last month
- The property-based testing library for Python☆8,463Updated this week
- A set of tools to keep your pinned Python dependencies fresh.☆7,995Updated this week
- A lightweight library for converting complex objects to and from simple Python datatypes.☆7,229Feb 4, 2026Updated 3 weeks ago
- The uncompromising Python code formatter☆41,400Updated this week
- A grab-bag of nifty pytest plugins☆596Jan 28, 2026Updated 3 weeks ago
- A framework for managing and maintaining multi-language pre-commit hooks.☆15,064Dec 22, 2025Updated 2 months ago
- Simple, powerful, and fast logging for Python.☆4,592Updated this week
- The little ASGI framework that shines. 🌟☆11,982Updated this week
- The code coverage tool for Python☆3,327Updated this week
- Mocked responses for the requests library☆467Jul 15, 2024Updated last year
- Mock HTTPX with awesome request patterns and response side effects 🦋☆770Nov 17, 2025Updated 3 months ago
- Python Development Workflow for Humans.☆25,106Feb 16, 2026Updated last week
- Python composable command line interface toolkit☆17,314Dec 31, 2025Updated last month