PyCon 2019 in Cleveland, Ohio

Sunday 1:50 p.m.–2:20 p.m. in Grand Ballroom A

Strategies for testing Async code

Neil Chazin

Description

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