Automated iPhone Testing with Open Source Tools

Published June 14th, 2011 Under Functional Testing | Leave a Comment

This video shows how to automate the iOS platform / iPhone automation using Open Source tools; compatible with ANT and Maven in any continuous environment. In this demo we show you how Open Source can perform a basic test in an iPhone app and run through both positive and negative testing. At the end of the test I show the Junit results including screen shots on fail.

OCUnit and UI Automation Testing for iOS

Published June 6th, 2011 Under Unit Testing | Leave a Comment

OCUnit framework and the UIAutomation framework allow developers to create unit tests with code coverage, and user interface level testing suites. This video teaches how to create an OCUnit project in XCode and then write and debug OCUnit test cases. It presents the limitations of OCUnit and how some of them can be mitigated with testing using the Instruments tool and the UI Automation framework.

iCucke: Integration testing for iPhone applications with Cucumber

Published June 10th, 2010 Under Functional Testing | Leave a Comment

iCuke allows you to write integration tests for your iPhone applications without changing your existing code (as long as your application makes proper use of the accessibility APIs). Usage is pretty much as you’d expect, install the gem and load the iCuke step definitions in a cucumber support file.

More information and video producer

Secrets of iPhone performance optimization

Published January 27th, 2010 Under Uncategorized | Leave a Comment

Fierce competition in the iPhone app business means you can’t afford crashes or poor performance. In this session we begin with an introduction to Instruments, Apple’s analysis tool, and how to use it to sample different parts of a running application simultaneously (memory, I/O, etc.), followed by an in-depth discussion of performance tuning for critical functions including application launch, memory usage, drawing and scrolling, file and network access, power and battery life.

Watch this video on Oredev.org

Testing Applications on Mobile Devices

Published January 4th, 2010 Under Functional Testing | Leave a Comment

In the highly competitive world of mobile applications, getting high-quality apps to market quickly can make or break the success of a product. With new applications for Android, iPhone and Blackberry battling for media attention and consumer dollars, the pressure to get apps built, tested and launched has never been greater. But the testing methods that have worked for web and desktop app companies (in-house QA, offshore testing firms, emulators/simulators, beta testers, etc.) dont meet the QA needs of mobile apps. The testing matrices in the mobile app world have become far too complex. Companies must test their apps across handset makers, handset models, wireless carriers, OS and browsers. And beyond that, they MUST account for location-based testing a task that has proven difficult and prohibitively expensive for even the most mature and sophisticated teams. This unmet challenge calls for a new approach. Crowdsourcing is uniquely suited to meet this challenge.

iPhone Acceptance Testing with uispec

Published November 30th, 2009 Under Functional Testing | Leave a Comment

UISpec is a Behavior Driven Development framework for the iPhone that provides a full automated testing solution that drives the actual iPhone UI. It is modeled after the very popular RSpec for Ruby. To make finding specific views in the iPhone UI easy, UISpec includes a very powerful view traversal DSL called UIQuery. Not only can you easily traverse the view heirarchy, you can also interact with the views you find.