"Advanced unit testing in Python" by Rory Geoghegan
Level: Intermediate
Now that you have played around with the rudimentaries of the unittest module, and started writitng tests for your code, how can you make things easier? I'll go over the new additions to the unittest module in Python 2.7, the use of the mock library, and how to use them together to write effective unit tests.

Demo source code:


Thanks to all who came along. Approx. 30 people turned up.

Thanks to Science Gallery for being our host.

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…