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

Formale Metadaten

Titel
asynctest
Untertitel
easier unit testing of asyncio code
Serientitel
Anzahl der Teile
611
Autor
Lizenz
CC-Namensnennung 2.0 Belgien:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache
Produktionsjahr2017

Inhaltliche Metadaten

Fachgebiet
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