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.
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.
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.
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.
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.
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.
10 free mobile app testing framework
Reviewed by Aamir Pathan