Testing iOS Apps with HadoopUnit: Rapid Distributed GUI Testing (Synthesis Lectures on Software Engineering)
暫譯: 使用 HadoopUnit 測試 iOS 應用程式:快速分散式 GUI 測試(軟體工程綜合講座)

Scott Tilley, Krissada Dechokul

商品描述

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.

Table of Contents: 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

商品描述(中文翻譯)

智慧型手機使用者已經習慣高品質的應用程式。這提高了行動軟體開發中軟體測試的重要性。不幸的是,測試應用程式—特別是圖形使用者介面(GUI)—可能非常耗時。對每個使用者介面元素進行測試並驗證應用程式不同視圖之間的轉換,迅速變得具有挑戰性。例如,使用 Apple 的 UI Automation 框架執行 iOS GUI 測試套件,如果應用程式的介面複雜,可能需要一小時或更長時間。測試執行所需的時間越長,測試執行的頻率就越低,這反過來又會降低軟體質量。

本書描述了如何使用 HadoopUnit 加速 iOS 應用程式的測試過程,HadoopUnit 是一個分散式測試執行環境,利用 Hadoop 平台固有的並行性。HadoopUnit 之前用於在雲端執行單元測試和系統測試。它已被修改為在小型集群上執行 iOS 應用程式的 GUI 測試—這是一種幾乎每位開發者都能夠獲得的適度計算基礎設施。

實驗結果顯示,使用 HadoopUnit 進行的分散式測試執行可以顯著超越在單一機器上的測試執行,即使執行所用的集群規模小至兩個節點。這意味著本書中描述的方法可以在不需要大量 IT 資源投資的情況下採用。HadoopUnit 是一個具成本效益的解決方案,用於減少 iOS 應用程式系統級 GUI 測試的冗長測試執行時間。

目錄:前言 / 序言 / 致謝 / 獻辭 / 介紹 / 背景 / 使用 UI Automation 與 HadoopUnit / iOS 應用程式的快速 GUI 測試 / 總結 / 附錄 A:在 Mac OSX 上設置 HadoopUnit 集群 / 附錄 B:iOS GUI 測試的 HadoopUnit 原始碼 / 參考文獻 / 作者介紹

最後瀏覽商品 (20)