Python Pytest

Open-source Python projects categorized as Pytest

Top 23 Python Pytest Projects

  1. SeleniumBase

    Python APIs for web automation, testing, and bypassing bot-detection.

    Project mention: Scraperr – A Self Hosted Webscraper | news.ycombinator.com | 2025-05-11

    Low effort baseline would be https://seleniumbase.io/, to drive a preconfigured web browser that looks relatively human to the network service. Typically it just clicks through the one-click captcha:s.

    If that's not good enough you'll likely have to fiddle with your own web driver and possibly a computer vision rig to manage to click through 'find the motorcycle' kind of challenges. Paying a click farm to do it for you is probably cheaper in the short run.

    An important hurdle is getting reputable IPv4 addresses to do it from, if you're going to do it a lot. Having or renting a botnet could help, but might be too illegal for your use case.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. pudb

    Full-screen console debugger for Python

    Project mention: PuDB: A console-based visual debugger for Python | news.ycombinator.com | 2024-12-29
  4. Schemathesis

    Catch API bugs before your users do

  5. pytest-cov

    Coverage plugin for pytest.

  6. pytest-xdist

    pytest plugin for distributed testing and loop-on-failures testing modes.

    Project mention: How to detect and fix flaky tests in Pytest | dev.to | 2025-03-11

    This is particularly problematic if you're using a library like pytest-xdist to distribute your tests across multiple CPUs. Testing in parallel and in random order introduces opportunities for both inconsistent system states to cause flakiness and race conditions where concurrently running tests interfere with each other.

  7. pytest-django

    A Django plugin for pytest.

  8. 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)

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. pytest-benchmark

    pytest fixture for benchmarking code

    Project mention: This Week In Python | dev.to | 2025-05-23

    pytest-benchmark – pytest fixture for benchmarking code

  11. best-of-python-dev

    🏆 A ranked list of awesome python developer tools and libraries. Updated weekly.

  12. tavern

    A command-line tool and Python library and Pytest plugin for automated testing of RESTful APIs, with a simple, concise and flexible YAML-based syntax (by taverntesting)

  13. dirty-equals

    Doing dirty (but extremely useful) things with equals.

  14. httpdbg

    A tool for Python developers to easily debug the HTTP(S) client and server requests in a Python program.

    Project mention: Show HN: Using eBPF to see through encryption without a proxy | news.ycombinator.com | 2025-05-08

    Just found out about a related things: https://github.com/cle-b/httpdbg

    Anyone have any experience with it?

  15. FastAPI-Backend-Template

    A backend project template with FastAPI, PostgreSQL with asynchronous SQLAlchemy 2.0, Alembic for asynchronous database migration, and Docker. (by Aeternalis-Ingenium)

  16. respx

    Mock HTTPX with awesome request patterns and response side effects 🦋

  17. web3-ethereum-defi

    A Python library for trading automation on DeFi, data research and integration. Supporting Uniswap, Aave, Chainlink, USDC and other protocols.

  18. pytest-randomly

    :game_die: Pytest plugin to randomly order tests and control random.seed

  19. syrupy

    :pancakes: The sweeter pytest snapshot plugin

  20. python-blueprint

    🐍 Example Python project using best practices 🥇

  21. django-test-migrations

    Test django schema and data migrations, including migrations' order and best practices.

  22. pytest-recording

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

  23. inline-snapshot

    inline-snapshot boosts efficiency when writing tests by generating code with the expected values and simplifies snapshot tests with pytest.

  24. pytest-flask

    A set of pytest fixtures to test Flask applications

  25. nbval

    A py.test plugin to validate Jupyter notebooks

    Project mention: Jupyter Notebooks as E2E Tests | news.ycombinator.com | 2024-12-18
  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Pytest discussion

Log in or Post with

Python Pytest related posts

Index

What are some of the best open-source Pytest projects in Python? This list will help you:

# Project Stars
1 SeleniumBase 11,153
2 pudb 3,096
3 Schemathesis 2,573
4 pytest-cov 1,897
5 pytest-xdist 1,634
6 pytest-django 1,459
7 pytest-sugar 1,443
8 pytest-benchmark 1,350
9 best-of-python-dev 1,129
10 tavern 1,086
11 dirty-equals 883
12 httpdbg 869
13 FastAPI-Backend-Template 756
14 respx 697
15 web3-ethereum-defi 694
16 pytest-randomly 667
17 syrupy 646
18 python-blueprint 652
19 django-test-migrations 552
20 pytest-recording 515
21 inline-snapshot 499
22 pytest-flask 495
23 nbval 452

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?