
Episode 516: Brian Okken on Testing in Python with pytest
Software Engineering Radio - the podcast for professional software developers
00:00
Do You Use Mocks for Hardware Testing?
Mocking is often used for doing these, like hitting parts of the system that you don't want to do. And i thinkt there's an architecture problem if you have to use it. That should be part of the architecture known at creation time. Instead of mocking or stubbing stripe, i can mock my payment gayway with a fake one. It allows you kind of look into the request that you're sending to the stripe api and making sure that that's correct. Yes, super powerful and handy. E so, and this is just a curiosity. So you said you test hardware. I am surprised. Er, do you not use mocks for hardware? Well, they would
Play episode from 23:16
Transcript


