EuroPython 2015

Faking It - The Art of Testing Using Verified Fakes

Have you ever worried that your tests aren’t as good because they’re running against a fake or mock instead of the real thing? Verified fakes solve this problem. Verified fakes allow for simplified testing using fakes while still providing the assurance that code tested using a fake implementation will behave the same way when used with a real implementation.

The talk will begin with a case-study, demonstrating what it means to write a “verified fake” implementation of a public API. I will show how to write tests that verify a fake implementation of a well defined API and I will show how those same tests can be re-used to verify and test real implementations of the same API.

in on Thursday 23 July at 12:30 See schedule



  1. Gravatar
    — Richard Wall,

New comment