Thin-wrapper around the mock package for easier use with pytest
☆2,019Mar 10, 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
Sorting:
- Coverage plugin for pytest.☆2,018Mar 2, 2026Updated 2 weeks ago
- Asyncio support for pytest☆1,623Updated this week
- The pytest framework makes it easy to write small tests, yet scales to support complex functional testing☆13,703Mar 9, 2026Updated last week
- pytest plugin for distributed testing and loop-on-failures testing modes.☆1,811Updated 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,518Dec 12, 2025Updated 3 months ago
- A Django plugin for pytest.☆1,522Mar 9, 2026Updated last week
- A Python utility / library to sort imports.☆6,912Mar 8, 2026Updated last week
- Let your Python tests travel through time☆4,496Aug 19, 2025Updated 6 months ago
- A utility for mocking out the Python Requests library.☆4,327Feb 19, 2026Updated 3 weeks ago
- factory_boy integration the pytest runner☆397Updated this week
- Pytest plugin to randomly order tests and control random.seed☆700Mar 8, 2026Updated last week
- BDD library for the pytest runner☆1,433Updated this week
- Collection of library stubs for Python, with static types☆5,019Updated 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☆27,178Updated this week
- Retrying library for Python☆8,422Updated this week
- Simplified packaging of Python modules☆2,243Updated this week
- Python Classes Without Boilerplate☆5,743Mar 8, 2026Updated last week
- pytest fixture for benchmarking code☆1,417Feb 16, 2026Updated 3 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,112Updated this week
- Python packaging and dependency management made easy☆34,309Mar 7, 2026Updated last week
- Optional static typing for Python☆20,301Updated this week
- A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.☆4,047Dec 22, 2025Updated 2 months ago
- A next generation HTTP client for Python. 🦋☆15,145Mar 1, 2026Updated 2 weeks ago
- A test fixtures replacement for Python☆3,778Jan 1, 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,691Mar 9, 2026Updated last week
- The property-based testing library for Python☆8,493Updated this week
- A set of tools to keep your pinned Python dependencies fresh.☆7,997Updated this week
- A lightweight library for converting complex objects to and from simple Python datatypes.☆7,224Mar 5, 2026Updated last week
- The uncompromising Python code formatter☆41,426Mar 9, 2026Updated last week
- A grab-bag of nifty pytest plugins☆596Jan 28, 2026Updated last month
- A framework for managing and maintaining multi-language pre-commit hooks.☆15,115Mar 1, 2026Updated 2 weeks ago
- Simple, powerful, and fast logging for Python.☆4,627Mar 9, 2026Updated last week
- The little ASGI framework that shines. 🌟☆12,024Updated this week
- The code coverage tool for Python☆3,332Updated this week
- Mocked responses for the requests library☆467Jul 15, 2024Updated last year
- Mock HTTPX with awesome request patterns and response side effects 🦋☆775Nov 17, 2025Updated 3 months ago
- Python Development Workflow for Humans.☆25,099Mar 9, 2026Updated last week
- Python composable command line interface toolkit☆17,328Updated this week