Python Testing

Open-source Python projects categorized as Testing

Top 23 Python Testing Projects

  1. locust

    Write scalable load tests in plain Python 🚗💨

  2. Kargo

    Kargo - optimize your multi-stage deployment pipelines using GitOps. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.

    Kargo logo
  3. faker

    Faker is a Python package that generates fake data for you. (by joke2k)

    Project mention: Your Test Data Is Type-Correct and Still Invalid: 6 Postgres Schema Features Generators Skip | dev.to | 2026-06-01

    Free and DIY. Faker, ORM seeders, and hand-written scripts generate values per column. Relationships, table-level constraints, and the features above stay your job, in your code, kept in sync by hand.

  4. pytest

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

    Project mention: 7 Free Tools for Testing AI-Generated Code Before It Ships | dev.to | 2026-05-02

    Pytest does for Python what Jest does for JavaScript, with its own set of features that make it particularly well-suited to testing AI-generated code.

  5. httpbin

    HTTP Request & Response Service, written in Python + Flask.

    Project mention: API Testing in Practice: Automating Postman Collections with Newman | dev.to | 2026-07-09

    # .github/workflows/api-tests.yml name: API Tests on: push: branches: [main] pull_request: branches: [main] jobs: newman: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: '20' - name: Install Newman run: npm install -g newman newman-reporter-html - name: Run API tests run: | newman run api-tests.postman_collection.json \ --env-var baseUrl="https://httpbin.org" \ --reporters cli,html,junit \ --reporter-html-export reports/report.html \ --reporter-junit-export reports/report.xml - name: Upload test report if: always() uses: actions/upload-artifact@v4 with: name: newman-report path: reports/

  6. undetected-chromedriver

    Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)

    Project mention: AI agents are human too | dev.to | 2025-12-07

    More importantly, blocking doesn't actually work. There is no identity system baked into HTTP, so circumventing these blocks is very easy. It's so mundane that it’s offered as a professional service, and popular modules exist to make your bot look like a default browser. There simply is no reliable way to block automated scraping while allowing normal use without massively impacting the openness of the web.

  7. PyAutoGUI

    A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.

  8. Robot Framework

    Generic automation framework for acceptance testing and RPA

    Project mention: Stop Using Raw WebDriver in Robot Framework | dev.to | 2026-07-09

    If you already use Robot Framework with SeleniumLibrary, you do not need the raw WebDriver API. SeleniumLibrary gives you high-level keywords. The Page Object Model gives you structure. Together they keep tests short and UI changes localized.

  9. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  10. hypothesis

    The property-based testing library for Python

    Project mention: Scratching the Itch, Paying the Debt: How Community Keeps Legacy Open Source Projects Alive | dev.to | 2025-10-28

    For PyGeoIf, version 0.7 had been released in 2017. Four years later, in September 2021, I published the first beta of the 1.0 series: fully type-annotated, statically checked with mypy, and tested using property-based testing with Hypothesis and improved tests with mutation testing with MutMut. By September 2022, version 1.0 was stable, and by October 2025, it had matured to version 1.5.

  11. Moto

    A library that allows you to easily mock out tests based on AWS infrastructure.

    Project mention: LocalStack Went Paid: What the Alternatives Get Right, and What Still Comes Down to Production | dev.to | 2026-08-24

    Moto is a different category of tool. It's not a daemon you run in Docker; it's a Python library that intercepts boto3 calls in-process, so your tests never make a network request at all. You decorate a test function with @mock_aws, and any boto3 calls within that function are handled by Moto's in-memory implementations.

  12. pywinauto

    Windows GUI Automation with Python (based on text properties)

  13. qodo-cover

    Qodo-Cover: An AI-Powered Tool for Automated Test Generation and Code Coverage Enhancement! 💻🤖🧪🐞

  14. FuckIt.py

    The Python error steamroller.

    Project mention: I benchmarked Claude Code's caveman plugin against "be brief." | news.ycombinator.com | 2026-04-30

    Yeah there are similar “joke” programming languages that found their friendly audience for a time.

    I like when programmers do creative, goofy stuff rather than spending all their time cranking out sterile SaaS.

    It’s what separates us from the machines. For now :)

    https://github.com/ajalt/fuckitpy

  15. Mimesis

    Mimesis is a Python library for generating fake but realistic data in multiple languages and locales.

  16. Ministack

    Ministack: Free, open-source local AWS emulator - 35+ services, Terraform compatible, real databases. An alternative to Localstack. Free forever. MIT licensed.

    Project mention: LocalStack Went Paid: What the Alternatives Get Right, and What Still Comes Down to Production | dev.to | 2026-08-24

    Floci is at github.com/floci-io/floci and MiniStack is at ministack.org. Documentation for Spinifex, including the air-gapped installation guide and Terraform workbooks, is at docs.mulgadc.com. The source is on GitHub, written in Go and AGPL-3.0 licensed. Or sign up for our free sandbox to explore the API before deploying on your own hardware.

  17. freezegun

    Let your Python tests travel through time

  18. pandera

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

  19. responses

    A utility for mocking out the Python Requests library.

  20. molecule

    An ansible-native testing framework for collections, playbooks, and roles with configurable workflows for testing any system or service

    Project mention: 5 Best Ansible Playbook Scanning Tools in 2026 for Secure and Scalable Automation | dev.to | 2026-03-17

    5. Ansible Molecule

  21. tox

    Command line driven CI frontend and development task automation tool.

  22. factory_boy

    A test fixtures replacement for Python

    Project mention: Factory_boy hasn't shipped in about a year, what do Python devs use now? | news.ycombinator.com | 2026-07-09
  23. Schemathesis

    Catch API bugs before your users do

    Project mention: Hypothesis: Property-Based Testing for Python | news.ycombinator.com | 2025-11-04

    If any of those bugs were in public or open-source APIs, I’d love to feature them in our new “trophy case”: https://github.com/schemathesis/schemathesis/issues/new?temp...

  24. Behave

    BDD, Python style.

  25. VCR.py

    Automatically mock your HTTP interactions to simplify and speed up testing

    Project mention: Show HN: Tusk Drift – open-source tool for automating API tests | news.ycombinator.com | 2025-11-11
  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 Testing discussion

Log in or Post with

Python Testing related posts

  • Google released Artemis for AI-driven Android automation

    1 project | news.ycombinator.com | 16 Sep 2026
  • Google Artemis – Missing attribution to mobile-use and its contributors

    1 project | news.ycombinator.com | 15 Sep 2026
  • Google Artemis: Let AI assistants and test suites use real phones like a human

    1 project | news.ycombinator.com | 13 Sep 2026
  • Artemis: Google's new AI agent framework for mobile test automation

    1 project | news.ycombinator.com | 11 Sep 2026
  • Google stole open source code without crediting the authors (Artemis/Minitap)

    3 projects | news.ycombinator.com | 11 Sep 2026
  • Opus 5: How to Review Generated Code

    3 projects | dev.to | 27 Aug 2026
  • LocalStack Went Paid: What the Alternatives Get Right, and What Still Comes Down to Production

    5 projects | dev.to | 24 Aug 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Sep 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 locust 28,147
2 faker 19,397
3 pytest 14,506
4 httpbin 13,607
5 undetected-chromedriver 12,726
6 PyAutoGUI 12,659
7 Robot Framework 11,879
8 hypothesis 8,962
9 Moto 8,658
10 pywinauto 6,169
11 qodo-cover 5,642
12 FuckIt.py 5,291
13 Mimesis 4,840
14 Ministack 4,597
15 freezegun 4,522
16 pandera 4,453
17 responses 4,344
18 molecule 4,145
19 tox 3,933
20 factory_boy 3,806
21 Schemathesis 3,598
22 Behave 3,529
23 VCR.py 3,009

Sponsored
Kargo - optimize your multi-stage deployment pipelines using GitOps
Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.
akuity.io

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