Given the fakes vs mocks debate, if you were to chose fakes, that means mostly that only db and network needs to be faked, all their dependants can be real
g
gildor
05/24/2020, 2:05 PM
Usually in unit tests we just use mocks and stubs, so it doesn't require to have everything real, stub/mock/real depends on what kind dependency it is
u
ursus
05/24/2020, 2:10 PM
Which means if you want to have fakes and not mockito, you need to provide fake actual implementation of every such object? why? its only the most bottom most layers which write to disc/network/os are the problem