May 2nd in Austin, Texas: Testing Without Mocks (Talk)

I'll be speaking at the deliver:Agile 2018 conference, which is April 30th to May 2nd in Austin, Texas. My talk is titled "Testing Without Mocks: A Practical Guide."

I'm very excited to be talking about this topic. Ever since I first ran across the original paper about mock objects back in 2000, I've been struggling to understand how to use them. Originally, I embraced them. Over time, I became unhappy with their shortcomings, but couldn't figure out a better option. Now, 18 years later, I think I'm finally getting a handle on how to test code without using mocks.

This is the first time I'm presenting on this subject and I'm really looking forward to it. I plan to make the talk very pragmatic, with no dogma, just frank and honest conversation about design tradeoffs and what I've learned. I'm not shying away from the hard problems, either: we'll talk about tough problems such as testing infrastructure and side effects, too.

This is the biggest talk I've done for a while. I'm looking forward to it. I hope you'll join me at deliver:Agile starting on April 30th. My session is at 10:30 on May 2nd.

Here's the blurb:

Testing Without Mocks: A Practical Guide

Are your tests slow or brittle? Do you get a sinking feeling when you need to refactor? Do you worry your unit tests aren't actually testing anything important? If so, you could benefit from exploring a mock-free approach to TDD.

This session is a comprehensive and practical guide to testing without mocks and other test doubles. We'll talk about real-world code, not dogma, and discuss solutions for tough problems—such as testing infrastructure code, disentangling logic and infrastructure, testing units in isolation, dealing with side effects, approaches to design, and more.