iPhone test automation using KIF (Keep It Functional)

In my last posts I dealed a lot with Android and how to implement automated regression tests using tools like Robotium. This post describes how to implement automated tests using the tool KIF (Keep It Functional, http://corner.squareup.com/2011/07/ios-integration-testing.html). KIF is an open source test framework developed by the company square (https://squareup.com). It is an iOS integration test framework that allows you to implement test cases with objective C that can be executed currently only against the iPhone/ iPad simulator. The KIF tests are integrated to your workspace, there is no need for additional servers or services that must be started.

Read more

Robotium 3.0 is out there!

Since November 16th the latest version of Robotium 3.0 is released. This new version of Robotium provides several new and improved methods to test your Android app. As Renas Reda in the jayway blog says: “Robotium is now faster, lighter and more stable then ever!” I hope that is true because the previous versions of Robotium were really slow in the execution, even on real devices. So let’s see what’s new!

The following two methods are new to wait for views:

Read more

How to setup a test environment for Android using Robotium

This post should show how easy it is, to setup an robotium test environment for Android Apps using the Eclipse IDE. First of all you have to download the latest Android SDK depending to your operating system from http://developer.android.com/sdk/index.html. After downloading the zip file you can unzip it to:

  • /opt for Linux system
  • /Applications for Mac OSx systems
  • c:Programs for Windows systems

AVD – Manager
Start the Android avd manager with the command ./tools/android.

Read more