Home Archives RSS

testing

development 2019-04-02

Setting up a modern Python project

Recently I've been working on a new Python-based project, using Python 3.6.

Having the opportunity for a fresh start, I spent some time taking a look at how to best make use of the the modern tools for project setup, testing, static checking and so on, and how to …

Read more
CI python testing unittest
development 2015-08-25

Twisted-like unit testing for asyncio

Recently I've been porting some code for a personal project from Twisted to the python3 builtin asyncio library. The change is not as drastic as it might seem, since the two libraries share the same basic concepts (using just different names, e.g. Future vs Deferred, loop vs reactor) and …

Read more
asyncio python testing twisted unittest
© Alberto Donato — CC BY-SA 4.0 unless otherwise noted.