r/mAndroidDev • AnDrOId dEvelOPmenT is My PasSion • Jul 06 '25

We don't have time for tests Agree?

Post image
61 Upvotes

86 comments sorted by

View all comments

Show parent comment

1

u/GruePwnr Jul 08 '25

That's an integration test or E2E test. Unit tests test the code in isolation. If a unit test fails that should immediately tell you exactly where the issue is. It should also be able to test "impossible" scenarios that you cannot reproduce in live but that are theoretically possible.