DEV Community

Discussion on: Making Android UI testing enjoyable

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.