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: How I start every new Python backend API project | dev.to | 2023-01-19

    If my project uses docker, I put all docker-related files here. For example: init scripts for localstack.

  • locust

    Scalable load testing tool written in Python

    Project mention: Simple, open-source, lightweight stress tool | reddit.com/r/devops | 2023-01-23

    If, like me, AGPL isn't your cup of tea, you can look at vegeta or locust which are both MIT.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • faker

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

    Project mention: Database automation challenges and how to solve them | dev.to | 2022-06-07

    For a cloud-based solution, one can write their own Terraform or CloudFormation for installation as soon as their RDS instance boots up with appropriate security and authentication details. For a local dev environment, one can rely on Faker to create mock database data for your database.

  • httpbin

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

    Project mention: Web.Contents based on information in columns (each row) iteration | reddit.com/r/PowerQuery | 2023-01-22

    let response = try Web.Contents( "https://httpbin.org", [ RelativePath = "/status/codes/418", ManualStatusHandling = {401, 402, 404} & {405..500} ] ) catch (e) => "Error, but we caught it" meta e in response

  • pytest

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

    Project mention: How to raise the quality of scientific Jupyter notebooks | dev.to | 2023-01-11

    Since ITK's inception in 1999, there has been a focus on engineering practices that result in high-quality software. High-quality scientific software is driven by regression testing. The ITK project supported the development of CTest and CDash unit testing and software quality dashboard tools for use with the CMake build system. In the Python programming language, the pytest test driver helps developers write small, readable scripts that ensure their software will continue to work as expected. However, pytest can only test Python scripts by default, and errors in untested computational notebooks are more common than well-tested Python code.

  • Robot Framework

    Generic automation framework for acceptance testing and RPA

    Project mention: Web Testing With Robot Framework | dev.to | 2023-01-29

    This is part 3 in a series of blog posts meant to get you started with automated testing using Robot Framework. If you haven't checked out the other posts in the series, please do. This post builds on what I've discussed previously.

  • PyAutoGUI

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

    Project mention: AutoHotkey v2 Official Release Announcement | news.ycombinator.com | 2023-01-28
  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • Moto

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

    Project mention: Unit Testing an Airflow Dag | reddit.com/r/dataengineering | 2023-01-25

    As for mocking, you can take a look at the moto library for mocking the AWS SDK, or for more simple cases even just use a `unittest.Mock/MagicMock` object. If you're having trouble trying to use the mocks in your code, it's a good sign your code is too highly coupled and it'd pay to re-factor, for example using dependency injection, design patterns like adapter/facade etc. (but don't over-do it)

  • hypothesis

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

    Project mention: Was muss man als nicht-technischer Quereinsteiger in Data Science *wirklich* können? | reddit.com/r/de_EDV | 2022-09-13
  • FuckIt.py

    The Python error steamroller.

    Project mention: Getting mentioned in a random issue on a random repository I’ve never even looked at. What is it? Spam. | reddit.com/r/ProgrammerHumor | 2022-12-29

    "Hot programmer girls in your area, click here to get an invite to their private repositories. 😏😏😏😏😏"

  • 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: Open source | reddit.com/r/ProgrammerHumor | 2022-07-19

    P.S Here is a project I was talking about.

  • undetected-chromedriver

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

    Project mention: Bot detection on google? | reddit.com/r/selenium | 2023-01-15

    Try using undetected chromedriver it should make your scraper harder to detect. If that doesn't work then you will need to use proxies.

  • pywinauto

    Windows GUI Automation with Python (based on text properties)

    Project mention: Just found out about something that's a lifesaver for working with undocumented COM objects | reddit.com/r/AutoHotkey | 2022-10-11
  • responses

    A utility for mocking out the Python Requests library.

    Project mention: How I start every new Python backend API project | dev.to | 2023-01-19

    responses

  • freezegun

    Let your Python tests travel through time

    Project mention: How to simulate a delay in a test? | reddit.com/r/django | 2022-09-21

    I had much fun with https://github.com/spulec/freezegun

  • molecule

    Molecule aids in the development and testing of Ansible roles

    Project mention: Learned bit of Ansible to automate some post-fresh-Arch-install work | reddit.com/r/archlinux | 2022-10-16

    I would recommend you to use roles instead of just playbooks and to test them with molecule. Molecule allows you to quickly test your Ansible roles in a fresh Arch Linux podman container, completely isolated from your real system.

  • manticore

    Symbolic execution tool

    Project mention: A Comprehensive Guide on Web3 Programming Languages and Tools | dev.to | 2022-06-06

    MythX, Mythril, Manticore, and Echidna are other tools for security audits.

  • tox

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

  • factory_boy

    A test fixtures replacement for Python

  • Behave

    BDD, Python style.

    Project mention: Top 7 Python Frameworks for Automation Testing | dev.to | 2022-08-10

    Behave on GitHub — https://github.com/behave/behave

  • splinter

    splinter - python test framework for web applications

  • VCR.py

    Automatically mock your HTTP interactions to simplify and speed up testing

  • fake2db

    create custom test databases that are populated with fake data

  • SaaSHub

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

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 2023-01-29.

Python Testing related posts

Index

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

Project Stars
1 LocalStack 45,620
2 locust 20,575
3 faker 15,316
4 httpbin 11,413
5 pytest 9,728
6 Robot Framework 7,724
7 PyAutoGUI 7,644
8 Moto 6,604
9 hypothesis 6,493
10 FuckIt.py 4,564
11 Mimesis 3,875
12 undetected-chromedriver 3,848
13 pywinauto 3,833
14 responses 3,795
15 freezegun 3,557
16 molecule 3,497
17 manticore 3,287
18 tox 3,153
19 factory_boy 3,037
20 Behave 2,757
21 splinter 2,595
22 VCR.py 2,362
23 fake2db 2,165
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com