Skip to content

Why testing is Essential

Devrath edited this page May 16, 2021 · 1 revision

How we can validate the functionality

  • 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 and clicking the button and going from screen to screen.

Is testing only to catch the defects or bugs

  • 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 the constructor of that screen that is required for starting that particular screen and just test that individual screen.
Clone this wiki locally