
Testing iOS Apps with HadoopUnit
Rapid Distributed GUI Testing
Morgan and Claypool Life Sciences (Publisher)
Published on 30. November 2014
Book
Paperback/Softback
103 pages
978-1-62705-651-9 (ISBN)
Description
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.
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.
More details
Series
Language
English
Place of publication
San Rafael, CA
United States
Publishing group
Morgan & Claypool Publishers
Dimensions
Height: 235 mm
Width: 187 mm
Weight
333 gr
ISBN-13
978-1-62705-651-9 (9781627056519)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Content
- 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 OSX
- Ap-pendix B: HadoopUnit Source Code for iOS GUI Testing
- References
- About the Authors
- 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 OSX
- Ap-pendix B: HadoopUnit Source Code for iOS GUI Testing
- References
- About the Authors