lundi 9 septembre 2019

How to create UI tests with Espresso Test Recorder for programatically created views

I am currently using Espresso testing framework in our app. Everything goes well when I use it with Xml created views. However it is not work with most of our views which are programmatically generated custom views(We do not use xml mostly). Do you have any idea how can I create test cases for custom views?

I have already looked Testing custom Views with Robolectric, but I wonder if there is a way to do tests with Espresso testing framework.

Aucun commentaire:

Enregistrer un commentaire