
Více o knize
If you're an iOS developer or QA professional encountering persistent bugs or performance issues, this book is for you. It guides you in scripting the user interface, asserting correct behavior, stubbing external dependencies, and automating the testing process. You'll explore a comprehensive strategy using Apple's tools applicable to your own apps. Automated user interface testing is crucial for ensuring that features function correctly and as expected. The book teaches full-stack testing of iOS apps in both the simulator and on devices using Apple's built-in tools. You'll create behavioral tests in UI Automation to safeguard against regressions and write scripts in Instruments to replicate performance bugs. With creativity, you'll establish a workflow that provides essential feedback. The content includes building a test suite with a real application that utilizes Core Data and network requests. You'll learn to articulate expected behaviors in test scripts, launch the app in specific states, and stub external dependencies for isolated, repeatable tests. Additionally, you'll practice organizing your test code and executing it from the command line. By the end, you'll possess the tools and habits necessary to address the unique testing challenges of developing high-quality native iOS apps. Requirements include a Mac running at least Mac OS X Lion (10.7) and Xcode 4.6.
Nákup knihy
Test IOS Apps with UI Automation,
- Jazyk
- Rok vydání
- 2013
- Vazba
- (měkká)
Doručení
Platební metody
Nikdo zatím neohodnotil.
- Titul
- Test IOS Apps with UI Automation
- Podtitul
- Bug Hunting Made Easy
- Jazyk
- anglicky
- Autoři
- Vydavatel
- The Pragmatic Programmers
- Rok vydání
- 2013
- Vazba
- měkká
- Počet stran
- 200
- ISBN10
- 1937785521
- ISBN13
- 9781937785529
- Série
- Anotace
- If you're an iOS developer or QA professional encountering persistent bugs or performance issues, this book is for you. It guides you in scripting the user interface, asserting correct behavior, stubbing external dependencies, and automating the testing process. You'll explore a comprehensive strategy using Apple's tools applicable to your own apps. Automated user interface testing is crucial for ensuring that features function correctly and as expected. The book teaches full-stack testing of iOS apps in both the simulator and on devices using Apple's built-in tools. You'll create behavioral tests in UI Automation to safeguard against regressions and write scripts in Instruments to replicate performance bugs. With creativity, you'll establish a workflow that provides essential feedback. The content includes building a test suite with a real application that utilizes Core Data and network requests. You'll learn to articulate expected behaviors in test scripts, launch the app in specific states, and stub external dependencies for isolated, repeatable tests. Additionally, you'll practice organizing your test code and executing it from the command line. By the end, you'll possess the tools and habits necessary to address the unique testing challenges of developing high-quality native iOS apps. Requirements include a Mac running at least Mac OS X Lion (10.7) and Xcode 4.6.