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 | reddit.com/r/FastAPI | 2021-09-20

    I use https://locust.io/ 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 | news.ycombinator.com | 2021-03-24

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

  • Activeloop.ai

    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 | dev.to | 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 https://httpbin.org/.

  • 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 | dev.to | 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 | news.ycombinator.com | 2021-09-02

    Hi,

    Robot Framework Foundation (https://robotframework.org/ and https://robotframework.org/foundation/) 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 https://docs.google.com/forms/d/e/1FAIpQLSdX0k4LiHf9O2Ogw5tl...

    "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. | reddit.com/r/learnpython | 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? | news.ycombinator.com | 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 | news.ycombinator.com | 2021-10-10
  • GitHub repo FuckIt.py

    The Python error steamroller.

    Project mention: Silent errors are the real killers | reddit.com/r/ProgrammerHumor | 2021-09-23

    Well it will with that attitude. https://github.com/ajalt/fuckitpy

  • 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. | reddit.com/r/datascience | 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? | reddit.com/r/django | 2021-05-11

    The repsonses library is designed for mocking requests during tests https://github.com/getsentry/responses

  • GitHub repo molecule

    Molecule aids in the development and testing of Ansible roles

    Project mention: Does anyone use HashiCorp Vagrant anymore? | reddit.com/r/devops | 2021-08-08

    I’m assuming you are using Molecule: https://github.com/ansible-community/molecule

  • GitHub repo freezegun

    Let your Python tests travel through time

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

    FreezeGun is a library that helps with mocking out the datetime.datetime.now 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 | news.ycombinator.com | 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 | reddit.com/r/Python | 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 ? | reddit.com/r/learnpython | 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 VCR.py

    Automatically mock your HTTP interactions to simplify and speed up testing

    Project mention: 3 Ways to Unit Test REST APIs in Python | dev.to | 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. VCR.py 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 | news.ycombinator.com | 2021-08-06

    This reminds me of https://github.com/sixpack/sixpack 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.

Index

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 FuckIt.py 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 VCR.py 2,102
21 fake2db 2,090
22 httpretty 1,911
23 sixpack 1,710
Find remote jobs at our new job board 99remotejobs.com. 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.
scoutapm.com