Description
This is a helper library to ease of your pain (and boilerplate), when writing a test of the asynchronous code (asyncio). You can test:
* synchronous code (same as the unittest.TestCase)
* asynchronous code, it supports syntax with async/await (Python 3.5+) and asyncio.coroutine/yield from (Python 3.4)
Installation:
pip install aiounittest
aiounittest alternatives and similar packages
Based on the "Testing" category.
Alternatively, view aiounittest alternatives based on common mentions on social networks and blogs.
-
pytest
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing -
Robot Framework
Generic automation framework for acceptance testing and RPA -
PyAutoGUI
A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard. -
Moto
A library that allows you to easily mock out tests based on AWS infrastructure. -
hypothesis
Hypothesis is a powerful, flexible, and easy to use library for property-based testing. -
responses
A utility for mocking out the Python Requests library. -
Mimesis
Mimesis is a powerful Python library that empowers developers to generate massive amounts of synthetic data efficiently. -
tox
Command line driven CI frontend and development task automation tool. -
VCR.py
Automatically mock your HTTP interactions to simplify and speed up testing -
fake2db
create custom test databases that are populated with fake data -
httpretty
Intercept HTTP requests at the Python socket level. Fakes the whole socket module -
Schemathesis
Guarantee flawless API functionality with thorough, high-quality test scenarios generated from your API specification. -
Selenium Wire
Extends Selenium's Python bindings to give you the ability to inspect requests made by the browser. -
mixer
Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects. -
mamba
The definitive testing tool for Python. Born under the banner of Behavior Driven Development (BDD). -
Mocket
a socket mock framework - for all kinds of socket animals, web-clients included -
sentry-telegram
Plugin for Sentry which allows sending notification via Telegram messenger. -
picka
pip install picka - Picka is a python based data generation and randomization module which aims to increase coverage by increasing the amount of tests you _dont_ have to write by hand. -
python-libfaketime
A fast time mocking alternative to freezegun that wraps libfaketime. -
Python Testing Crawler
A crawler for automated functional testing of a web application -
Mock Generator
A tool to auto generate the basic mocks and asserts for faster unit testing -
Pytest Mock Generator
A pytest fixture wrapper for https://pypi.org/project/mock-generator -
pytest-fastapi-deps
This library allows you to easily replace FastAPI dependencies in your tests. Regular mocking techniques do not work due to the inner working of FastAPI.
Write Clean Python Code. Always.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of aiounittest or a related project?