-
Notifications
You must be signed in to change notification settings - Fork 0
Why testing is Essential
Devrath edited this page May 16, 2021
·
1 revision
- When we are building an android application, We need to check that it is working as expected.
- One way to do this is manually doing it, It involves replicating the scenarios using user interaction like
typing the text
andclicking the button
and going from screen to screen.
- No, Because, in addition to catching the
bugs
in the code, testing allows us to compartmentalize the code in such a way that it enforces modularity in the code. - Also to reach a certain part of the screen, we need not have to travel from the beginning to that particular screen instead, we can
mock
the items in theconstructor
of that screen that is required for starting that particular screen and just test that individual screen.