
184: Twisted and Testing Event Driven / Asynchronous Applications - Glyph
Test & Code
00:00
Io Testing - Is Twisted Still Relevant?
You'll typically make a mock back end that returns the lowest level deferred. And then you control what's happening by firing that mock or, like, putting some data into a fake network connection. In this way, you can do all this with futures, but futures expect to be attached to an event loop,. whereas deferreds live totally on their own.
Transcript
Play full episode