Re:Test Against Reality
by watwut on Sunday July 09, 2023 @10:19AM
(#36654636)
I worked with a lot of code like that. The decisions made on dependencies were trivial. Bugs happened when dependency answered with something we did not expected. Or when we send away wrong data (not knowing parameter X is mandatory when Y equals Z sort of thing).
Meanwhile, all those mocks were just clutter.
Integration tests made a whole lot of sense. Mocks did not.
Meanwhile, all those mocks were just clutter.
Integration tests made a whole lot of sense. Mocks did not.