Testing Reddit bots with Betamax

When testing code that relies on a network API, such as Reddit’s, network IO itself is a significant bottleneck. This post has a dual aim: first, it provides an introduction to the Betamax library, which speeds up integration tests by recording and reusing HTTP interactions. Second, through the running example... [Read More]