samedi 10 juin 2017

Testing key presses in Android app using Robolectric

I am testing a Fragment in my app which contains several AutoCompleteTextViews and EditTexts. I want to test entering data into these fields and pressing the Enter key to move to the next field. Is it possible to do this with Robolectric as unit tests? Or do I have to do this with Espresso and instrumented tests?

Aucun commentaire:

Enregistrer un commentaire