Writing

Test Doubles

This is a extract and slight rehash of something written by Martin Fowler. It’s up here to provide a quick reference.

How to disconnect in Twisted, really

First posted on my old livejournal, this short article describes what you need to do to disconnect all sockets in a unit test.

Everything You Always Wanted to Know about Twisted

This paper was originally prepared as an introduction to Twisted for the Launchpad development team, and was presented in London on October 30th, 2008. The version here has been edited a bit, but is essentially the same paper. Co-written with Michael Hudson.

Your Code Sucks and I Hate You

Written for OSDC Sydney 2008, this paper talks about the social dynamics of code review. I like the title.

How to write docstrings for tests

Five-step guide to writing docstrings for tests.

Originally written as a post on Google+.