Wednesday 20 July 2011

Square offers KIF framework for iOS user-interaction testing

Square, the credit-card processing company that offers payment apps for both iOS and Android, has released a new testing framework it calls KIF -- standing for "Keep It Functional" -- that allows developers to rapidly test new features in an automated way to assist in continued rapid development and growth of apps. The framework allows developers to run tests of their software either on the iOS simulator or on-device.

KIF is written in Objective-C and requires minimal setup, using the same language as the rest of the developer's project. It can be easily extended for more complex testing and works in continuous integration (CI) setups. It comes pre-integrated with a number of basic test steps, such as "tap this view," "type this text" and "turn on this switch." It leverages the accessiblity capabilities of iOS to traverse the view stack, making it easier for developers to bear in mind the needs of visually-impaired users when designing.

New steps can be easily added, such as "simulate a memory warning" or "receive a push notification." Developers get feedback about the stability and health of the codebase via CI using WaxSim.

The KIF framework will be made available on GitHub as an open-source project. The company is also supporting a Google-based discussion group and a community on Stack Overflow.






Demo Video



by MacNN Staff


View the original article here

No comments:

Post a Comment