PyCon: Twill, Scotch, and Figleaf -- Tools for Testing

This was a talk on testing tools by Dr. C. Titus Brown. Please see my summary of his earlier tutorial. This talk was really a demo for those who didn't come to the tutorial. Here are some new things I picked up:
  • Twill can take care of running Tidy.
  • Scotch lets you replay HTTP interactions. Hence, you can use it to mock a server providing some service so that you can test a consumer (presumably, some other server) of that service.
  • Setting up Twill so that it talks directly to the code being tested using WSGI rather than actually making an HTTP request can simplify the number of silly things that can go wrong. However, it's still nice to be able to do either with the same test.