Strategies for testing Async code
Neil Chazin at PyCon 2019
Testing code is important. Testing, primarily unit-testing async code
requires heading off the the standard roadway of unit testing in python. This talk will provide a map to help you along the new path towards testing async code.
Topics include:
- a brief intro to `asyncio` and challengs in testing with it
- running coroutines (and other awaitables) under test
- mocking coroutines
- testing ""main"" `asyncio` loops
Slides can be found at: https://speakerdeck.com/pycon2019 and https://github.com/PyCon/2019-slides
requires heading off the the standard roadway of unit testing in python. This talk will provide a map to help you along the new path towards testing async code.
Topics include:
- a brief intro to `asyncio` and challengs in testing with it
- running coroutines (and other awaitables) under test
- mocking coroutines
- testing ""main"" `asyncio` loops
Slides can be found at: https://speakerdeck.com/pycon2019 and https://github.com/PyCon/2019-slides