Python Testing

Open-source Python projects categorized as Testing

Top 23 Python Testing Projects

  • LocalStack

    💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline

    Project mention: LocalStack e AWS CLI: Como desenvolver localmente com a AWS | | 2024-01-28

    Acesse o site da LocalStack e faça login.

  • locust

    Write scalable load tests in plain Python 🚗💨

    Project mention: Protegendo APIs da Esquerda para a Direita (e em td no meio do caminho) [Tradução +/- Comentada] | | 2024-02-17

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • faker

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

    Project mention: Leveling up your custom fake data with Faker.js | | 2024-01-27

    Faker was originally written in Perl and is also available as a library for Ruby, Java, and Python.

  • httpbin

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

    Project mention: Hardening Apache APISIX with the OWASP's Coraza and Core Ruleset | | 2024-02-08

    We proceed to define routes to to test our setup. Let's call the route to /get:

  • pytest

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

    Project mention: Integrating Lab Equipment into pytest-Based Tests | /r/Python | 2023-10-04

    In this blog post I want to demonstrate how my lab equipment such as a lab power supply or a digital multimeter (DMM) have been integrated into some pytest-based tests. Would love to get your feedback and thoughts! 🚀

  • PyAutoGUI

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

    Project mention: PySimpleGUI 4 will be sunsetted in Q2 2024 | | 2024-02-14
  • Robot Framework

    Generic automation framework for acceptance testing and RPA

    Project mention: Beautiful is better than ugly, but my beginner code is horrible | | 2023-10-21

    Well, I work with software quality and despite not having a strong foundation in automation, one fine day I decided to make a change. I have been working with Robot Framework for a few months - and that's when I got a taste of the power of python. Some time later, I dabbled a little with Cypress and Playwright, always using javascript.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • undetected-chromedriver

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

    Project mention: ad_clicker premium - Google/Bing Ads Clicker | /r/IMadeThis | 2023-12-08

    This command-line tool clicks ads for a certain query on Google/Bing search using undetected_chromedriver package. Supports proxy, running multiple simultaneous browsers, ad targeting/exclusion, and running in loop.

  • Moto

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

    Project mention: OpenTF Announces Fork of Terraform | | 2023-08-25

    > OpenMoto

    I dunno if you're trying to play on "hashimoto" but would be a prime name collision for any such "OpenMoto" name

    But yes, please, to adopting Vault. I don't have a horse in the race about Consul but my suspicion is such an effort would only be worthwhile if trying to adopt Nomad, too, which I gravely doubt

  • hypothesis

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

    Project mention: Hypothesis | | 2024-02-01

    The Python error steamroller.

    Project mention: VS exception_escaping - a user suggested alternative | | 2024-01-17
  • pywinauto

    Windows GUI Automation with Python (based on text properties)

  • Mimesis

    Mimesis is a powerful Python library that empowers developers to generate massive amounts of synthetic data efficiently.

    Project mention: Mimesis allows you toeasily generate detailed dummy datasets. | /r/datascience | 2023-04-12

    Mimesis has well-structured and comprehensive documentation:

  • responses

    A utility for mocking out the Python Requests library.

    Project mention: Please recommend a good API Mocking tool | /r/django | 2023-05-16
  • freezegun

    Let your Python tests travel through time

    Project mention: About time: how to unit test code that depends on time | | 2023-12-19

    * in C++.

    On Python, just use freezegun to inject controllable timestamps in response to calls to time methods.

  • molecule

    Molecule aids in the development and testing of Ansible content: collections, playbooks and roles

    Project mention: Centralized user mangement for Linux | /r/sysadmin | 2023-06-26

    Hell, the ansible roles I maintain use Molecule for testing.

  • manticore

    Symbolic execution tool

  • tox

    Command line driven CI frontend and development task automation tool.

    Project mention: PEP 582 rejected - consensus among the community needed | /r/Python | 2023-03-28

    Another less heavyweight solution than Docker is Tox – handy for when you need to test software with multiple different versions of Python.

  • factory_boy

    A test fixtures replacement for Python

    Project mention: Embracing Modern Python for Web Development | | 2023-12-08

    Factory Boy doesn't currently support asynchronous operations, but there is an async-factory-boy extension with enough async support for most use cases. There is also an open pull request in Factory Boy with recent updates (July 2023) that will hopefully be merged soon.

  • Behave

    BDD, Python style.

    Project mention: Behave VS vedro - a user suggested alternative | | 2023-07-16
  • pandera

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

    Project mention: Unit testing functions that input/output dataframes? | /r/datascience | 2023-03-05

    I use Pandera, so I just need to define the expected input/output schemas (i.e. column names, types, and constraints on them), and Pandera automatically generates fake data for the unit tests, and validates the result:

  • splinter

    splinter - python test framework for web applications


    Automatically mock your HTTP interactions to simplify and speed up testing

    Project mention: Please recommend a good API Mocking tool | /r/django | 2023-05-16

    I made a library for this:

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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 2024-02-17.

Python Testing related posts


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

Project Stars
1 LocalStack 51,387
2 locust 23,196
3 faker 16,872
4 httpbin 12,269
5 pytest 11,149
6 PyAutoGUI 9,271
7 Robot Framework 8,799
8 undetected-chromedriver 7,554
9 Moto 7,285
10 hypothesis 7,151
11 4,995
12 pywinauto 4,494
13 Mimesis 4,226
14 responses 4,010
15 freezegun 3,919
16 molecule 3,766
17 manticore 3,609
18 tox 3,455
19 factory_boy 3,356
20 Behave 3,026
21 pandera 2,850
22 splinter 2,677
23 2,570
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.