We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Formal Metadata

Title
asynctest
Subtitle
easier unit testing of asyncio code
Title of Series
Number of Parts
611
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production Year2017

Content Metadata

Subject Area
Genre
Abstract
asynctest enhances the standard python package unittest with features forasyncio. This talk aims at presenting asynctest and discuss various practicesaround unit testing of code using asyncio. This talk aims at presenting asynctest, a library written on top of thestandard unittest module. asynctest provides features for writing tests forlibraries and programs using asyncio. We will discover handy features like: * how asynctest.TestCase reduces boilerplate and offers safeguards around subtle mistakes in an asynchronous code, * how asynctest.Mock objects helps to mock coroutines, and how patch decorators are enhanced to handle coroutines, * how one can control the event loop's clock. I will also discuss the future of asynctest and planned features. Room: UD2.120 (Chavanne) Scheduled start: 2017-02-05 15:00:00