Stefan Scherfke

Advanced asyncio testing

I demonstrate how you can use pytest’s fixture system and the plug-in pytest-asyncio to reduce the boilerplate code required for testing networking libraries.

Testing (asyncio) coroutines with pytest

Pytest currently offers no helpers for testing (asyncio) coroutines. Its powerful plug-in architecture allows you fix that and write elegant tests for coroutines.

page 1 of 1