Testing iOS Apps with HadoopUnit
Rapid Distributed GUI Testing
- English
- PDF
- Available on iOS & Android
About This Book
Smartphone users have come to expect high-quality apps. This has increased the importance of software testing in mobile software development. Unfortunately, testing appsâparticularly the GUIâcan be very time-consuming. Exercising every user interface element and verifying transitions between different views of the app under test quickly becomes problematic. For example, execution of iOS GUI test suites using Apple's UI Automation framework can take an hour or more if the app's interface is complicated. The longer it takes to run a test, the less frequently the test can be run, which in turn reduces software quality.This book describes how to accelerate the testing process for iOS apps using HadoopUnit, a distributed test execution environment that leverages the parallelism inherent in the Hadoop platform. HadoopUnit was previously used to run unit and system tests in the cloud. It has been modified to perform GUI testing of iOS apps on a small-scale clusterâa modest computing infrastructure available to almost every developer.Experimental results have shown that distributed test execution with HadoopUnit can significantly outperform the test execution on a single machine, even if the size of the cluster used for the execution is as small as two nodes. This means that the approach described in this book could be adopted without a huge investment in IT resources. HadoopUnit is a cost-effective solution for reducing lengthy test execution times of system-level GUI testing of iOS apps.
Frequently asked questions
Information
Table of contents
- Cover
- Copyright Page
- Title Page
- Contents
- Figures
- Tables
- Foreword
- Preface
- Acknowledgments
- Dedication
- Introduction
- Background
- Using UI Automation with HadoopUnit
- Rapid GUI Testing of iOS Apps
- Summary
- Appendix A Setting up a HadoopUnit Cluster on Mac OS X
- Appendix B HadoopUnit Source Code for iOS GUI Testing
- References
- About the Authors