Test & Code cover image

184: Twisted and Testing Event Driven / Asynchronous Applications - Glyph

Test & Code

00:00

Test a Sincrenis Code?

Twisted started mandating testing as part of its development process in two thousand five and it was not a popular thing. The way that we originally wrote it to support a sincreness testing was spin up the whole event loop, get all the sockets and all the interstructure for like, actually talking to the network. But what you're doing there is you are that's full system integration testing. And this is what happens if you return a deferred from a trial test case. You can still do this to day. It's useful for certain times of inter integration testing. If you're writing a, a cortine, or a thing that returns it deferred, some process is like

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app