|
Content with label python in CI Development (See content from all spaces)
Related Labels:
tutorial, twisted, inlinecallbacks, testing, logging, code, gotchas, trial, debugging
Gotchas with inlineCallbacks, yield and returnValue
page describes common errors when using Python twisted and its asynchronous programming patterns. Background Twisted provides a reactor. If you start twisted via twistd, the reactor starts and calls your code. The reactor will always keep calling ...
Other labels:
code, gotchas, debugging, twisted, inlinecallbacks
|
Message logging, debugging and Python
Introduction In a large distributed system, flexible and configurable message logging is a strategic issue. Please read Ben Hyde's excellent post http://enthusiasm.cozy.org/archives/2009/02/listeningtothesystem for a nice detailed explanation of why it's useful. Technology choices For Python, the two main ...
Other labels:
logging, tutorial
|
Unit testing with Trial and Twisted
Introduction Writing unit and integration tests with an asycronous framework like Twisted can be quite challenging. This page presents some code and references to get you started. The basic idea is that of test driven development http://en.wikipedia.org/wiki/Testdrivendevelopment ...
Other labels:
trial, twisted, testing, tutorial
|
|
|