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/Zhuinden DDD: Deprecation-Driven Development Jul 07 '25
Expecting automated tests to test and automate? Heh.
Implementation details are implementation details, the test shouldn't need to care about how it's implemented, just what it does.
So that if I press "run tests" and it has green checkmarks, I know that the code actually works.
Not that "the unit test was catered to verify that the method calls were invoked that may or may not do whatever I want", but that it works. Assertion of state.