DEV Community

Discussion on: Making Android UI testing enjoyable

Collapse
 
liviufromendtest profile image
Liviu Lupei

Nice article.

You should also try Endtest for building and executing automated tests for Mobile Apps.

It uses an Appium engine and it even has a test recorder.
These chapters are a good starting point:
How to create Mobile Tests
Finding elements in Mobile Applications
How to execute Mobile Tests

I actually work there, so feel free to ask me anything about it.

Collapse
 
liweijian profile image
liweijian

If Endtest is using Appium, I believe that's another topic. According to the official doc

Appium's flagship support for automating Android apps is via the UiAutomator2 driver

Espresso is much more fast, and have lots of other advantages like very good at test RecyclerView.

Collapse
 
liviufromendtest profile image
Liviu Lupei

Do you have any studies or data to support your claim that Espresso is faster than UiAutomator2?
I'm curious to learn more about that.

Thread Thread
 
liweijian profile image
liweijian • Edited

From google official training course

Espresso tests run optimally fast! It lets you leave your waits, syncs, sleeps, and polls behind while it manipulates and asserts on the application UI when it is at rest.

From 3rd introduction

In my opinion, the first trait is Espresso faster than Ui Automator.

Thread Thread
 
liviufromendtest profile image
Liviu Lupei

Espresso was built by Google.
Your first source is literally from Google.
And your second source is an article published on Medium by someone.

None of those articles contain any comparison data.

I was hoping for something more reliable, that would include data, measurements, comparisons, etc.