Python Testing

Open-source Python projects categorized as Testing | Edit details

Top 23 Python Testing Projects

  • GitHub repo locust

    Scalable user load testing tool written in Python

    Project mention: load testing fastapi | | 2021-09-20

    I use for load testing since it's also Python and it's pretty simple to spin up quick API tests.

  • GitHub repo faker

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

    Project mention: How to create a 1M record table with a single query | | 2021-03-24

    Creating realistic fake data is useful in lower environments and for load testing. Outside of SQL I like faker:


    Optimize your datasets for ML. Goodbye, boilerplate code - the fastest dataset optimization and management tool for computer vision.

  • GitHub repo httpbin

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

    Project mention: Free Customer Identity Access Management with Azure AD B2C | | 2021-10-08

    You can use any valid https URL instead, it doesn't matter for purpose of this tutorial because that URL is only here for legal reasons. For instance you could use

  • GitHub repo pytest

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

    Project mention: Automate Clean Code and Linting in Python | | 2021-08-22

    Pytest 7.7k+ ⭐️

  • GitHub repo Robot Framework

    Generic automation framework for acceptance testing and RPA

    Project mention: Possibility to do OSS and get paid | | 2021-09-02


    Robot Framework Foundation ( and is sponsoring new development for Robot Framework community projects. So if you would like to work on OSS project and get paid, check out Robot Framework and apply at

    "Requested budget *

  • GitHub repo PyAutoGUI

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

    Project mention: I'm getting this error when I'm using pywhatkit module. | | 2021-09-18
  • GitHub repo hypothesis

    Hypothesis is a powerful, flexible, and easy to use library for property-based testing.

    Project mention: What Is Property Based Testing? | | 2021-09-19
  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo Moto

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

    Project mention: Localstack – Local AWS Emulator | | 2021-10-10
  • GitHub repo

    The Python error steamroller.

    Project mention: Silent errors are the real killers | | 2021-09-23

    Well it will with that attitude.

  • GitHub repo Mimesis

    Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages.

    Project mention: Mimesis is a fake data generator that can be used in Data Science for generating dummy datasets. | | 2021-04-03
  • GitHub repo responses

    A utility for mocking out the Python Requests library.

    Project mention: Am new to Testing, Should I test Functions that Return a Queryset? | | 2021-05-11

    The repsonses library is designed for mocking requests during tests

  • GitHub repo molecule

    Molecule aids in the development and testing of Ansible roles

    Project mention: Does anyone use HashiCorp Vagrant anymore? | | 2021-08-08

    I’m assuming you are using Molecule:

  • GitHub repo freezegun

    Let your Python tests travel through time

    Project mention: Mocking Python datetime In Tests With FreezeGun | | 2021-09-07

    FreezeGun is a library that helps with mocking out the function. It is a very useful tool for testing code that uses the datetime library.

  • GitHub repo factory_boy

    A test fixtures replacement for Python

  • GitHub repo manticore

    Symbolic execution tool

    Project mention: Smart Contract Security for Pentesters | | 2021-04-22
  • GitHub repo splinter

    splinter - python test framework for web applications

  • GitHub repo tox

    Command line driven CI frontend and development task automation tool. (by tox-dev)

  • GitHub repo Behave

    BDD, Python style.

    Project mention: UPDATE: Subreddit scraper for investing | | 2020-12-20

    I like bdd and unit tests.

  • GitHub repo SeleniumBase

    ✅ Test any web app with Python. Easy onboarding. Scalable & reliable. Time-saving. ☑️

    Project mention: What to learn for QA / testing automation with Python ? | | 2021-08-29

    i haven't. it's the first time i heard about it actually. on our project, it's selenium with seleniumbase

  • GitHub repo

    Automatically mock your HTTP interactions to simplify and speed up testing

    Project mention: 3 Ways to Unit Test REST APIs in Python | | 2021-07-22

    Now it’s finally the time to discuss our last option. I have only found about it quite recently, frankly. I’ve been using mocks for a long time and always had some problem with them. is a library that simplifies a lot the tests that make HTTP requests.

  • GitHub repo fake2db

    create custom test databases that are populated with fake data

  • GitHub repo httpretty

    HTTP client mocking tool for Python - inspired by Fakeweb for Ruby (by gabrielfalcao)

  • GitHub repo sixpack

    Sixpack is a language-agnostic a/b-testing framework

    Project mention: Show HN: Open-source A/B Testing framework | | 2021-08-06

    This reminds me of which I've been eyeballing for years.

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). The latest post mention was on 2021-10-10.


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

Project Stars
1 locust 17,302
2 faker 13,135
3 httpbin 10,246
4 pytest 7,841
5 Robot Framework 6,339
6 PyAutoGUI 5,605
7 hypothesis 5,421
8 Moto 5,261
9 4,217
10 Mimesis 3,374
11 responses 3,344
12 molecule 3,204
13 freezegun 3,022
14 factory_boy 2,648
15 manticore 2,490
16 splinter 2,447
17 tox 2,444
18 Behave 2,439
19 SeleniumBase 2,419
20 2,102
21 fake2db 2,090
22 httpretty 1,911
23 sixpack 1,710
Find remote jobs at our new job board There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Scout APM: A developer's best friend. Try free for 14-days
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.