Top 23 Python Testing Projects
Scalable user load testing tool written in Python
Faker is a Python package that generates fake data for you.Latest 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:
The pytest framework makes it easy to write small tests, yet scales to support complex functional testingLatest 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 RPA
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.
A library that allows you to easily mock out tests based on AWS infrastructure.
The Python error steamroller.Latest 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.
Let your Python tests travel through time
A test fixtures replacement for Python
splinter - python test framework for web applications
BDD, Python style.Latest 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
✅ 🐍 Python Web UI testing and RPA. 🤖 🚀 Fast • Easy • Reliable.Latest 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:
HTTP client mocking tool for Python - inspired by Fakeweb for Ruby
Automatically mock your HTTP interactions to simplify and speed up testingLatest 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
Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects.
What are some of the best open-source Testing projects in Python? This list will help you: