OK! You have built your mobile application and you are ready to publish it to the store, but how do you know the application will work the way it was designed and will not crash? In addition to this, how do you know you did not break any functionality when you added that last-minute change to one of the screens? Even if you manually tested the change, there might be something related to your change you may have missed or forgotten to test.
In this chapter, we will see how to write automatic tests for your application, covering topics that range from testing your application logic to application UI and navigation. This does not mean everything will be automatically tested and there will be no need for any further manual and exploratory tests, but adding automatic tests as early as possible when developing software will help us identify and discover issues in the very early stages of our development. As documented multiple times, the cost of fixing software...