10 free mobile app testing framework

Mobile apps, while popular, presents a particularly tricky situation in terms of bug fixes. On the web, you can easily remedy any bugs within hours. Not so for mobile apps. A bug fix might need at least 2 weeks before finding its way into the actual app itself. This will not only frustrate users who have experienced the bugs but they might even cost the company some potential revenue. Hence, mobile app testing framework becomes very important tools for mobile development. Fortunately, there is a growing number of such testing tools for us to make sure our mobile apps works perfectly before launched.

Mobile app testing framework can be separated into 2 main categories. One group, called Unit testing, is for testing individual elements within an app. The other group, known as functional testing framework, is meant to test the app at the UI level, which means it is testing almost the whole app usage performance.

 

Functional testing frameworks

#1: KIF for iOS

mobile testing framework 1

KIF stands for Keep It Functional and comes from the Square. It is a mobile app testing framework for the iOS only.  All the tests are written in objective C so that makes it much easier for Apple app developer to work on it. Recommended if you are looking for a iOS app testing tool.

 

#2: Fliptest – a mobile app A/B testing framework for iOS

mobile testing framework 2

Doing A/B testing on mobile apps is notoriously difficult. A new startup is working on solving this problem by providing a testing framework to let you decide which UI works the best.

 

#3:  Appium for iOS and Android

mobile testing framework 8

Appium is a fairly  new mobile app testing framework but I liked their approach. Specifically, they believe that “testing native apps shouldn’t require including an SDK or recompiling your app. And that you should be able to use your preferred test practices, frameworks, and tool”. Whether this can be in reality, I love what they are trying to accomplish.

 

#4: Frank for iOS

mobile testing framework 4

Another iOS app testing framework is Frank. It uses Cucumber as the navie language to write your testing perimeters.  The best thing about Frank is that it can record your tests so you can review them later as a team.

 

#5: Robotium for Android

mobile testing framework 5

Robotium is an adaption of the popular Selenium framework for the android platform. It is one of the few that does Android exclusively so it is quite popular among Android developers.

 

#6: Calabash for iOS and Android

mobile testing framework 3

Calabash support cross platform mobile app testing and can be used for both Android and iOS apps.  From testing screenshots, gestures to actual functional code, Calabash can be used with the Cucumber language.

 

#7: Gitorious for iOS

mobile testing framework 9

Gitorious uses the automation tool Sikuli as the base of this framework and lays on screenshots and python scripts for developers to do their testing. It makes using Sikuli much easier and more effective. A pity it is only for iOS.

 

Unit testing framework

The most common unit testing frameworks are the solutions provided by the platform owners. OCUnit and Junit, for the iOS and Android platforms respectively. I will not discuss them here as most of the mobile developers should be familar with these 2 testing tools.

 

#8: Kiwi for iOS

mobile testing framework 6

Kiwi is well known for its simple interface that is clean and workable. It works in objective C so that is great for all the iOS app developers.

 

#9: Robolectric for Android

mobile testing framework 10

Robolectric is one of the rate unit testing framework for Android.  It does away with using simulators and instead, de-fangs the Android SDK jar to allow developers direct testing of their Android apps. Worth a look if you are an Android developer.

 

#10: Cedar for iOS

mobile testing framework 7

From the folks at Pivtoal lab, this is a great testing tool as a unit testing framework. It has a bit more functions than Kiwi above and the installation within xocde make writing the test codes much simpler and faster.

 

I am sure there are a few more mobile app testing tools that I have left out in this roundup. Please leave your comments to recommend any software or framework that you think will be useful to the community.


design

About the author

With a passion for Knowledge, Smashinghub has been created to explore things like Free Resources For Designers, Photographers, Web Developers and Inspiration.

Twitter Visit author website

Subscribe to Smashing Hub


2 Comments

  1. Lalitha says:

    We need a tool that does not require you to build their libraries with Xcode, for iOS. I’ve been looking at a solid solution and have yet to find one. FoneMonkey claims to have solved the issue! No. Not everyone is building natively. We are building in Flash and porting to platforms with Starling Framework. So FoneMonkey is out all together.