Android Open Source test framework

Source: Internet
Author: User

    • Google Espresso

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

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


    • Robolectric

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.