Test IOS Apps with UI Automation
Bug Hunting Made Easy
Seiten
2013
The Pragmatic Programmers (Verlag)
978-1-937785-52-9 (ISBN)
The Pragmatic Programmers (Verlag)
978-1-937785-52-9 (ISBN)
- Titel ist leider vergriffen;
keine Neuauflage - Artikel merken
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.
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.
Jonathan Penn is a software developer with a long history of quality work sprinkled with mischief. When not consulting with clients, he speaks at conferences, is the mad scientist behind the featured apps at navel-labs.com, and is scribbler-in-chief at cocoamanifest.net, a technical blog for exceptional iOS resources and commentary.
Erscheint lt. Verlag | 10.9.2013 |
---|---|
Zusatzinfo | black & white illustrations |
Verlagsort | Raleigh |
Sprache | englisch |
Maße | 191 x 229 mm |
Gewicht | 395 g |
Einbandart | kartoniert |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Mac / Cocoa Programmierung |
Informatik ► Software Entwicklung ► Qualität / Testen | |
Informatik ► Weitere Themen ► Smartphones / Tablets | |
ISBN-10 | 1-937785-52-1 / 1937785521 |
ISBN-13 | 978-1-937785-52-9 / 9781937785529 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
Apps programmieren für macOS, iOS, watchOS und tvOS
Buch (2023)
Carl Hanser (Verlag)
CHF 83,95
Das umfassende Handbuch. Apps entwickeln für iOS, macOS und tvOS. …
Buch | Hardcover (2019)
Rheinwerk (Verlag)
CHF 69,85
The Big Nerd Ranch Guide
Buch | Softcover (2020)
Big Nerd Ranch Guides (Verlag)
CHF 68,25