Test iOS Apps with UI Automation: Bug Hunting Made Easy (Paperback)
暫譯: 使用 UI 自動化測試 iOS 應用程式:輕鬆尋找錯誤 (平裝)
Jonathan Penn
- 出版商: Pragmatic Bookshelf
- 出版日期: 2013-08-11
- 售價: $1,188
- 貴賓價: 9.5 折 $1,129
- 語言: 英文
- 頁數: 200
- 裝訂: Paperback
- ISBN: 1937785521
- ISBN-13: 9781937785529
-
相關分類:
Apple Developer
立即出貨(限量) (庫存=1)
買這商品的人也買了...
-
深入淺出 Servlets 與 JSP (Head First Servlets and JSP, 2/e)$1,200$948 -
Java 初學指引─使用 SE7$650$507 -
Android 4.X 手機/平板電腦程式設計入門、應用到精通, 2/e (適用 Android 1.X~4.X)$520$411 -
JSP 2.2 動態網頁技術, 4/e$580$452 -
實戰雲端作業系統建置與維護-VMware vSphere 5 虛擬化全面啟動
$680$537 -
ASP.NET 4.5 專題實務 [I]-C# 入門實戰篇$780$616 -
Core Data: Data Storage and Management for iOS, OS X, and iCloud, 2/e (Paperback)$1,088$1,034 -
Arduino UNO R3 開發板(副廠相容版)附傳輸線$400$380 -
無瑕的程式碼 番外篇-專業程式設計師的生存之道 (The Clean Coder: A Code of Conduct for Professional Programmers)
$360$281 -
精實軟體度量$450$351 -
Windows 8.1 快速上手:初心者活用 100+ 招$390$308 -
ASP.NET 學習教材-使用 C#$650$514 -
Android App 程式設計教本之無痛起步, 2/e$480$408 -
超圖解 Arduino 互動設計入門, 2/e$680$578 -
中英數輸入實力養成暨評量 (2014 年版)$460$363 -
敏捷與 Scrum 軟體開發速成 (The Elements of Scrum)$300$234 -
Java SE 8 技術手冊$620$490 -
深入淺出 Node.js$560$437 -
Responsive Web Design 自動調適型網頁程式設計-讓網頁在電腦 / 平板 / 手機完美展現$360$306 -
MySQL 完全攻略 : 管理與維護$380$296 -
改變世界的九大演算法 : 讓今日電腦無所不能的最強概念 (Nine Algorithms That Changed the Future: The Ingenious Ideas That Drive Today’s Computers)$360$284 -
ASP.NET MVC 5 網站開發美學$780$616 -
Google 活用技巧大解密-絕對能派上用場的 Google 超級攻略$350$280 -
實戰雲端作業系統建置與維護-VMware vSphere 5.5 虛擬化全面啟動$690$545 -
Swift 5 從零到精通 iOS 開發訓練營$714$678
相關主題
商品描述
If you're an iOS developer or QA professional tapping through an app to reproduce bugs or performance issues you thought were solved two releases ago, then this is your book. Learn how to script the user interface, assert correct behavior, stub external dependencies, reproduce performance problems, organize test code for the long haul, and automate the whole process so the machine does the work. You'll walk through a comprehensive strategy with techniques using Apple's tools that you can apply to your own apps.
Automated user interface testing is an important part of a comprehensive testing strategy for iOS applications. By scrutinizing your app through the eyes and actions of the user, you raise confidence that features are wired up right and behave as you expect.
Through this book you'll learn how to do full-stack testing of your iOS apps in both the simulator and on the device with Apple's built-in tools. You'll write behavioral tests in UI Automation that help protect against regressions. You'll write scripts to repeat steps in Instruments to reproduce performance bugs. With a little ingenuity, you'll build a workflow that gives the feedback you need.
Grow a test suite by working with a real application that uses Core Data and network requests. Learn how to describe expected behavior in test scripts, launch the app in a specific state, and stub external dependencies for completely isolated and repeatable tests. Along the way, you'll practice how to organize your test code and run it hands-free from the command line. By the end, you'll have the tools and habits you need to tackle the unique testing problems you'll face while building best-of-breed native iOS apps for your users.
What You Need
You'll need a Mac running at least Mac OS X Lion (10.7) and Xcode 4.6.
商品描述(中文翻譯)
如果您是一位 iOS 開發者或 QA 專業人員,正在透過應用程式來重現您認為在兩個版本前已解決的錯誤或性能問題,那麼這本書就是為您而寫的。學習如何編寫使用者介面腳本、驗證正確行為、模擬外部依賴、重現性能問題、為長期維護組織測試代碼,並自動化整個過程,讓機器來完成工作。您將通過使用 Apple 的工具,走過一個全面的策略,這些技術可以應用於您自己的應用程式。
自動化使用者介面測試是 iOS 應用程式全面測試策略的重要組成部分。通過用戶的視角和行動來仔細檢查您的應用程式,您可以提高對功能正確連接和行為符合預期的信心。
在這本書中,您將學習如何使用 Apple 內建工具對您的 iOS 應用程式進行全堆疊測試,無論是在模擬器還是實體設備上。您將編寫 UI Automation 中的行為測試,以幫助防止回歸問題。您將編寫腳本以重複 Instruments 中的步驟,以重現性能錯誤。憑藉一點創意,您將建立一個提供所需反饋的工作流程。
通過與一個使用 Core Data 和網路請求的實際應用程式合作,擴展測試套件。學習如何在測試腳本中描述預期行為、在特定狀態下啟動應用程式,以及模擬外部依賴,以進行完全隔離和可重複的測試。在此過程中,您將練習如何組織測試代碼並從命令行無需手動操作地運行它。到最後,您將擁有解決在為用戶構建最佳原生 iOS 應用程式時所面臨的獨特測試問題所需的工具和習慣。
您需要的條件
您需要一台運行至少 Mac OS X Lion (10.7) 和 Xcode 4.6 的 Mac。
