In the following steps, you will learn how to run instrumentation tests:
- Let's create a simple app, which will just have the Hello World! text and a button:
- On clicking the button, the text will change to Goodbye World!:
- Now, let's write a test to verify this behavior.
In this recipe, we will learn how to run the espresso test; in the next recipe, we will learn how to write an espresso test, so just bear with me until I explain how to write an espresso test in the later recipe because it is complicated and needs an entire ...