Top 23 Python Testing Projects
Scalable user load testing tool written in PythonProject mention: Best way to benchmark and load test an api. | reddit.com/r/devops | 2021-02-17
Been using https://locust.io/ in the past.
Faker is a Python package that generates fake data for you. (by joke2k)Project mention: DuckDB: an embedded DB for data wrangling | dev.to | 2020-11-01
To test a database, first you need some data. So I created a python script and used Faker to create the following CSV files:
Get performance insights in less than 4 minutes. 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.
The pytest framework makes it easy to write small tests, yet scales to support complex functional testingProject mention: Hacktoberfest: 69 Beginner-Friendly Projects You Can Contribute To | dev.to | 2020-09-29
https://github.com/pytest-dev/pytest A framework makes it easy to write small tests, yet scales to support complex functional testing
Generic automation framework for acceptance testing and RPAProject mention: How learn Robot framework? | reddit.com/r/learnprogramming | 2021-02-16
Hypothesis is a powerful, flexible, and easy to use library for property-based testing.
A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.Project mention: is there a way to create an auto hotkey script alternative? | reddit.com/r/linux4noobs | 2021-02-19
Or if you want to do Python, you'll want to create a virtual environment. Activate the virtual environment, install pyautogui (pip install pyautogui), and create a script. For the i3 config file, it would look like this: bindsym $mod+shift+d exec /path/to/env/bin/python3 /path/to/script.py
A library that allows you to easily mock out tests based on AWS infrastructure.Project mention: AWS, Boto3, Python, and Microsoft Visual Studio Code | reddit.com/r/aws | 2021-02-14
Check out moto. It's great for writing unit tests for boto3 stuff. There isn't coverage for all services or API calls but the core services are pretty solid.
The Python error steamroller.Project mention: Ignore.java: Skip any throwable code | dev.to | 2020-10-16
Fuckit.py intro: FuckIt.py uses state-of-the-art technology to make sure your Python code runs whether it has any right to or not. Some code has an error? Fuck it.
Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages.
A utility for mocking out the Python Requests library.
Molecule aids in the development and testing of Ansible rolesProject mention: CI/CD case study for edge infrastructure with a lot of Raspberry Pis | reddit.com/r/devops | 2021-01-21
Let your Python tests travel through time
A test fixtures replacement for Python
splinter - python test framework for web applications
BDD, Python style.Project mention: UPDATE: Subreddit scraper for investing | reddit.com/r/Python | 2020-12-20
I like bdd and unit tests.
create custom test databases that are populated with fake data
✅ 📊 A complete framework for Web-UI testing. 💠 Fast, easy, and reliable. (Python)Project mention: The 15 syntax formats of SeleniumBase | dev.to | 2020-12-28
This format is used by most of the examples in the SeleniumBase examples folder. It's a great starting point for anyone learning SeleniumBase, and it follows good object-oriented programming principles. In this format, BaseCase is imported at the top of a Python file, followed by a Python class inheriting BaseCase. Then, any test method defined in that class automatically gains access to SeleniumBase methods, including the setUp() and tearDown() methods that are automatically called to spin up and spin down web browsers at the beginning and end of test methods. Here's an example of that:
Automatically mock your HTTP interactions to simplify and speed up testingProject mention: Magic numbers for Verify? | reddit.com/r/twilio | 2021-01-11
I don't normally work in Python, so I'm not used to writing mocks. You should be able to mock the client, but if that is too much you might look into something like VCR.py which records underlying HTTP interactions and then plays them back in further tests. (Make sure to redact any API keys from the cassettes though.)
Sixpack is a language-agnostic a/b-testing framework
nose is nicer testing for python
Software build automation tool for Python.
Python Rest Testing
A modern API testing tool for web applications built with Open API and GraphQL specifications.
What are some of the best open-source Testing projects in Python? This list will help you: