Re:Unit Testing is Overrated (2020)
by adhesive_wombat on Thursday April 07, 2022 @04:19PM
(#30949857)
Also can be pretty handy when there's hardware that needs something very specific to happen to work properly. Mocks can give you (some) confidence that when you poke the I2C bus, you won't hang it up.
But it's very easy to overdo it and end up testing irrelevant implementation details instead.
But it's very easy to overdo it and end up testing irrelevant implementation details instead.