The Bike Shed cover image

381: To TDD or Not to TDD?

The Bike Shed

00:00

The Importance of Mocking in Tests

Mocking is a sign of coupling generally in tests where you're just passing objects to each other. If you're hard coding dependencies, you often have to mock. Separating IO and non-IO code can be done even if you weren't writing tests at all.

Play episode from 25:04
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app