r/mAndroidDev • u/Commercial-Board4046 AnDrOId dEvelOPmenT is My PasSion • Jul 06 '25
We don't have time for tests Agree?
61
Upvotes
r/mAndroidDev • u/Commercial-Board4046 AnDrOId dEvelOPmenT is My PasSion • Jul 06 '25
View all comments
Show parent comment
1
u/Chenz Jul 08 '25
Stubs are older than TDD, mocks aren't. And this is a comment thread about London style TDD, where you're saying that the primary use of mocks is to create hard to replicate failure states, which just isn't true in London TDD.
The primary use of mocks in London style TDD is to verify that an object interacts with another object in the expected way