Jonathan Penn - Test iOS Apps with UI Automation: Bug Hunting Made Easy [2013, EPUB, ENG]

Сообщение Солнышко » 31 янв 2018, 22:11

Test iOS Apps with UI Automation: Bug Hunting Made Easy
Год: 2013
Автор: Jonathan Penn
Жанр: Программирование
ISBN: 978-1-93778-552-9
Язык: Английский
Формат: EPUB
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 224
Описание: About this Book
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.
Contents and Extracts
What Can We Do About It?
The Road Ahead
Expectations and Technical Requirements
Online Resources
UI Automation Overview
Capturing Our First Script From The Simulator
Finding Our Way Around UI Automation
Testing Behavior With UI Automation
Talking The UI Through JavaScript
Reporting Errors
Verifying The Test Does What It Says
Building Up A Test Suite
Testing With A Modal Alert View
Importing Script Files At Runtime
Testing Results From A Live API
Grouping Test Steps And Their Output
Organizing Test Code
Starting A JavaScript Toolbox
Describing The App With Screen Objects
Reusing A Generic Screen Prototype
Converting Our Test Suite To Screen Objects
Maps, Gestures, and Alerts
Exploring The Map
Identifying Elements With Accessibility APIs
Testing With Gestures
Advanced Alert Handling
Strategies For Testing Universal Apps
Universalizing an Application
Finding Elements In The New Idiom
Building An iPad Test Suite With Reusable Pieces
Searching The Element Tree With Predicates
Advanced Predicate Usage And Beyond
Automating Performance Tests
Setting Up Custom Instruments Templates
Capturing Steps To Reproduce A Memory Leak
Triggering Simulator Memory Warnings With AppleScript
Stress Testing
Setting Up Application Data
Seeding Data in Xcode With Application Data Packages
Seeding Data Dynamically With A Factory
Choose Your Own Adventure With Environment Variables
Hiding Test Setup Code From Release
Stubbing External Services
Choosing A Geographical Location
Faking A Network Service API
Wrapping Service APIs In A Facade
Stubbing A Facade With Data In The App Bundle
Command Line Workflow
Practicing With The Raw Commands
Automating The Build and Run Process With Rake
Reading Environment Variables From Script Files
Resetting The Simulator To Test Permissions
Running Tests On a Connected Device
Third Party Tools And Beyond
Enhancing UI Automation
Testing Outside The Box





Автор: Солнышко
Добавлен: 31 янв 2018, 22:11
Размер: 6.56 МБ
Размер: 6 882 846 байт
Сидеров: 0
Личеров: 0
Скачали: 0
Здоровье: 0%
Скорость скачивания: 0 байт/сек
Скорость раздачи: 0 байт/сек
Последний сидер: Нет
Последний личер: Нет
Приватный: Нет (DHT включён)
Операционные системы Скачать торрент
Скачать торрент
[ Размер 2.56 КБ / Просмотров 0 ]


  • Похожие торренты
    Последнее сообщение

Вернуться в Операционные системы