Keep On Mockin' In The Real World

2:40pm - 3:05pm on Friday, October 6 in PennTop North

Andrew Burrows

Audience Level:
Beginner
Watch:
https://youtu.be/Qru_6rXReDg

Overview

This talk is an example-led romp through some of the trickier aspects of mocking and patching. It picks up where a beginner’s guide leaves off and looks at the sort of problems you are likely to face when writing tests for the kind of real code that is currently in your codebase.

Description

This talk is an example-led romp through some of the trickier aspects of mocking and patching. It picks up where a beginner’s guide leaves off and looks at the sort of problems you are likely to face when writing tests for the kind of real code that is currently in your codebase. Based on years of experience teaching and mentoring developers in my workplace on testing and mocking techniques I’ve collected together many of the follow up questions and war stories people have brought to me after hitting problems using mocks in their tests. This talk will equip you with a set of tools, tips and tricks you can use in your own testing and a greater appreciation of what kind of code might make life difficult when mocking.

Want to edit this page?