Mocking Real-World Code
Details
After three useless presentations about Mock, featuring ridiculously unhelpful examples about classes with methods that do basic arithmetic which everything except a 1st generation Intel Pentium could do correctly, Adam Tauno Williams finally gets it [thanks to a PyOhio 2013 presentation (http://pyvideo.org/video/2267/my-adventures-with-mock)].
The rumors are true - Mock is melon farming AWESOME. Adam will demonstrate how to use Mock to write tests for code that does wild and crazy things like reference other objects, use a database connection, send e-mail, and the basic kinds of things you need to know how to fake in a unittest. This is not an expert level presentation on Mock, but a HOWTO by someone [Adam] still new enough to Mock to remember the parts that aren't obvious [hopefully someday when he's a 36th level Mage he'll look at those arithmetic examples and think to himself: "Wow, from that it is all so obvious; what is wrong with those idjits?"].
Jace Browning will follow that up by talking about his technique for mixing unittests (with mock) and integration tests (without mock).
