Espresso is a new tool, and the API is more precise than other tools. and smaller, more concise and easier to learn. It was originally launched at the 2013 GTAC Conference, with the goal of allowing developers to write more concise UI test code for the app.
Although it is for the developer (Developer), it is also available to testers. Because it has some key characteristics of Robotiun and selendroid deficiency.
Reference Documentation:
1) About Android Test Tool espresso
Robotium is a foreign Android Automation testing framework, mainly for Android platform applications for black box Automation testing, it provides simulation of various gesture operations (click, Long Press, swipe, etc.), find and assert the mechanism of the API, to be able to manipulate the various controls. Robotium combines Android's official testing framework to automate the testing of applications. In addition, the Robotium 4.0 version already supports the operation of the WebView. Robotium is supportive of Activity,dialog,toast,menu.
1) Environment Construction
A JVM-based Android test framework, the biggest feature is that you do not need to start the emulator, so very fast!
Most of the native SDK features are currently supported for testing and support for resource, but there is still a shortage of simulations on some special hardware. Look forward to further improvement. In the test server request, the Robolectric data simulation and the delay sends the simulation, provides the good solution to the multi-threaded state test.
1) Official website
This article is from the "My Way of Programming" blog, so be sure to keep this source http://aiwoapp.blog.51cto.com/8677066/1620027
Android Open Source test framework