Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Testing Python Packages

Python packages with the GitHub topic testing. Sorted by monthly downloads, with stars and forks.
pytest-dev
pytest

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

1B 15K 4K
pytest-dev
pytest-asyncio

Asyncio support for pytest

286.1M 2K 234
joke2k
faker

Faker is a Python package that generates fake data for you.

75.4M 20K 2K
HypothesisWorks
hypothesis

The property-based testing library for Python

74.8M 9K 711
cunla
fakeredis

In-memory fake Redis for Python tests: a drop-in replacement for redis-py and valkey-py, with no server to run. Emulates Redis, Valkey, DragonflyDB, KeyDB and KiviDB.

44.8M 472 101
testcontainers
testcontainers

Testcontainers is a Python library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests.

40.8M 2K 397
lundberg
respx

Mock HTTPX with awesome request patterns and response side effects 🦋

32.7M 847 71
FactoryBoy
factory-boy

A test fixtures replacement for Python

24.4M 4K 428
adamchainz
time-machine

Travel through time in your tests.

21.7M 1K 58
tox-dev
tox

Command line driven CI frontend and development task automation tool.

17.6M 4K 800
kevin1024
vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing

13.8M 3K 455
syrupy-project
syrupy

:pancakes: The most popular pytest snapshot plugin

13.7M 910 68
Colin-b
pytest-httpx

pytest fixture to mock HTTPX

12.1M 455 53
weiwei
junitparser

Parses JUnit/xUnit Result XML files with ease

11.6M 137 58
miketheman
pytest-socket

Pytest Plugin to disable socket calls during tests

11.3M 350 54
pandera-dev
pandera

A light-weight, flexible, and expressive statistical data testing library

11M 5K 533
mongomock
mongomock

Small library for mocking pymongo collection objects for testing purposes

9.6M 1K 362
boxed
mutmut

Mutation testing system

9.2M 2K 202
Teemu
pytest-sugar

a plugin for py.test that changes the default look and feel of py.test (e.g. progressbar, show tests that fail instantly)

8.8M 2K 92
numirias
pytest-json-report

🗒️ A pytest plugin to report test results as JSON

8.7M 156 46
tarpas
pytest-testmon

Selects tests affected by changed files. Executes the right tests first. Continuous test runner when used with pytest-watch.

7.8M 1K 92
Stranger6667
hypothesis-graphql

Generate arbitrary queries matching your GraphQL schema, and use them to verify your backend implementation.

5.9M 48 5
schemathesis
schemathesis

Catch API bugs before your users do

5.9M 4K 241
kiwicom
pytest-recording

A pytest plugin powered by VCR.py to record and replay HTTP traffic.

4.8M 616 56
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology