Contribute Media
A thank you to everyone who makes this possible: Read More

Strategies for testing Async code


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
Improve this page