pytest-asyncio
pytest-asyncio is a plugin for testing asyncio code using pytest.
About
pytest-asyncio is a plugin designed for testing code that utilizes the asyncio library within the pytest framework. It allows users to define test functions as coroutines, enabling the use of 'await' for asynchronous operations in tests. However, it does not support test classes that subclass the standard unittest library, recommending alternatives like unittest.IsolatedAsyncioTestCase or asynctest for such cases.
Open Source Health
- Stars
- 1,662
- Forks
- 204
- License
- Apache-2.0
- Last commit
- 1 months ago
Resources & Links
Related Categories
Vendor
Readthedocs
Publisher of Black, Coverage.py and Factory Boy
Quick Links
Open Source
More by Readthedocs
Related Products
Coverage.py
Coverage.py measures code coverage for Python programs.
More from this vendor
Factory Boy
Factory Boy is a tool for creating test data using factories instead of static fixtures.
More from this vendor
Hypothesis
Hypothesis is a property-based testing library for Python.
More from this vendor
Mypy
Mypy is a static type checker for Python that helps identify type-related errors in code.
More from this vendor
pytest-bdd
pytest-bdd is a BDD framework that integrates with pytest for automating project requirements testing.
Top category match