2014 easy-to-use open-source Android testing Tools

Source: Internet
Author: User
Tags appium

Http://www.php100.com/html/it/mobile/2014/1015/7495.html

There is a big trend to move to mobile application platform, Android is the most widely used mobile operating system, more than 2014 years accounted for more than 80% of the market. When developing Android apps for testing, there are a lot of testing tools on the market now.

This article is mainly to show a series of open-source Android testing tools. Each tool will have a brief description and some related resources. The list of Android test tools is sorted alphabetically, and finally several open source projects related to Android testing that are not particularly active.

This article mentions the open source Android software testing tool including: Android Test Kit, ANDROIDJUNIT4, Appium, Calabash-android, Monkey, Monkeytalk, Nativedriver, Rob Olectric, Robospock, Robotium, Uiautomator, selendroid.

Android Test Kit

Android Test Kit is a set of Google open source test tools for the Android platform, which contains the Espresso API for writing simple and reliable Android UI tests.

Oschina Url:http://www.oschina.net/p/android-test-kit

Related Resources
* Android application Testing with the Android test framework–tutorial
* Espresso for Android is here!

AndroidJUnit4

ANDROIDJUNIT4 is an open source command-line tool that allows JUnit 4 to run directly on Android devices.

Oschina URL:HTTP://WWW.OSCHINA.NET/P/ANDROIDJUNIT4

Appium

Appium is an open-source, cross-platform, automated testing tool for testing native and lightweight mobile applications that support IOS, Android and Firefoxos platforms. Appium drives Apple's UIAutomation library and Android's uiautomator framework, using Selenium's Webdriver JSON protocol. APPINM iOS support is based on Dan Cuellar ' s iOS Auto. Appium also binds the selendroid for the old Android platform test.

Oschina Url:http://www.oschina.net/p/appium

Related Resources
* Appium Tutorial
* Android UI Testing with Appium

Calabash-android

Calabash-android is a functional automated testing framework for Android based on Cucumber. Calabash allows you to write and execute, is an open source automated mobile application Testing tool that supports Android and IOS native apps. Calabash's library allows for interactive testing of native and hybrid applications, including a large number of end-user activities. Calabash can rival Selenium Webdriver. However, it is important to note that the interaction of the Web application and the desktop environment is different from the touch-screen application. The Calabash is designed to provide APIs for native applications of touch-screen devices.

Oschina url:http://www.oschina.net/p/calabash-android

Related Resources
* A better-to-test Android applications using Calabash
* Calabash Android:query Language Basics

Monkey

Monkey is a ui/application testing tool developed by Google and also a command line tool for stress testing. You can run on any of the emulator samples or devices. Monkey sends a pseudo-random stream of user events to the system as a stress test for your development application.

Oschina url:http://developer.android.com/tools/help/monkey.html

Monkeytalk

Monkeytalk is the most powerful mobile application testing tool in the world. Monkeytalk automated real-world, functional interaction testing for IOS and Android apps. Monkeytalk provides a simple "smoke tests", complex data-driven test suite. Monkeytalk supports native, mobile and hybrid applications, real devices or simulators. Monkeytalk makes scene capture very easy and can record high-level, readable test scripts. The same commands can be used on IOS and Android apps. You can record a test for a platform and replay it on another platform. The Monkeytalk supports mobile touch and gesture-based interaction-oriented mobile experiences. Click, drag, move, even finger draw can be recorded and played back.

Oschina Url:http://www.oschina.net/p/monkeytalk

Related Resources
* Using Monkeytalk in Androidstudio

Nativedriver

Nativedriver is the implementation of the Webdriver API, which is a native app UI driver, not a Web application.

Oschina Url:http://www.oschina.net/p/nativedriver

Robolectric

Robolectric is an Android unit test framework that uses the Android SDK jar, so you can use test drivers to develop Android apps. The test can be run on the workstation's JVM in just a few seconds. Robolectric handles view scaling, resource loading and native C code implementations for a large number of Android devices. Robolectric allows you to do most of the things your real device can do, run on a workstation, or run in a regular JVM continuous integration environment, without having to go through the simulator.

Oschina Url:http://www.oschina.net/p/robolectric

Additional Resources
* Better Android Testing with Robolectric 2.0
Using robolectric for Android testing–tutorial

Robospock

Robospock is an open-source Android testing framework. Provides a simple way to write BDD behavior-driven development specifications, using groovy voice and supporting the Google Guice library. Robospock incorporates the functions of robolectric and Spock.

Oschina Url:http://www.oschina.net/p/robospock

Related Resources
* Robospock–behavior Driven Development (BDD) for Android

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.

Oschina Url:http://www.oschina.net/p/robotium

Related Resources
* robotium–testing Android User Interface
* Android user interface testing with Robotium–tutorial

Uiautomator

The Uiautomator test framework improves the testing efficiency of the user interface (UI) by automating the creation of functional UI test samples to run your app on one or more devices.

Oschina Url:http://www.oschina.net/p/uiautomator

Related Resources
* Automatic Android Testing with Uiautomator

Selendroid

Selendroid is a UI Automation testing framework for Android native apps. The test was written using the Selenium 2 client API. The selendroid can be used on both the emulator and the actual device, as well as the integration of grid nodes for scaling and parallel testing.

Oschina url:http://www.oschina.net/p/selendroid

Related Resources
* Mobile Test Automation with selendroid
* Road to Setup selendroid and create first test script of Android application
* Up and running with:selendroid

Some stop-maintenance Android test Tools

Some of the open-source Android test tools projects that have barely been maintained (at least for projects that haven't been updated in recent months).

Emmagee

Emmagee is a performance testing gadget that monitors the CPU, memory, and traffic resources of a machine that is used by a specified application during use. Emmagee also offers some cool features, such as customizing the interval to collect data, using floating windows to render real-time process status, and more.

Oschina Url:http://www.oschina.net/p/emmagee

Sirocco

Scirocco (Scirocco-webdriver) is an open source application Automation test tool that provides access to the necessary test equipment from Eclipse. SCIROCCO provides automated Android application testing capabilities instead of manual testing. Scirocco support Google's nativedriver, the Androiddriver as the main test library. The Scirocco includes three parts: the Nativedriver,androiddriver,scirocco plugin (an Eclipse plugin; You can automate scenario testing and producing test reports).

Oschina Url:http://www.oschina.net/p/scirocco

Via Softwaretestingmagazine

Article reprinted from: Open Source Chinese community [http://www.oschina.net]

2014 easy-to-use open-source Android testing Tools

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.