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
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.
Advertisement
#2: Fliptest – a mobile app A/B testing framework for iOS
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
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
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
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
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
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.
No comments
Post a Comment