Pro iOS Testing - Avi Tsadok

Pro iOS Testing

XCTest Framework for UI and Unit Testing

(Autor)

Buch | Softcover
302 Seiten
2020 | 1st ed.
Apress (Verlag)
978-1-4842-6381-5 (ISBN)
64,19 inkl. MwSt
Discover what tools there are for unit testing in iOS, and how to work in a test-driven environment. This book reveals how testing is a crucial capability in any iOS developer’s toolset, and a minimum requirement in iOS interviews.
A few years ago, tests on mobile platforms were not very popular. It wasn’t a technical constraint, more a cultural one. But these days it’s a crucial skill set, especially when projects become big and hard to maintain. This book shows you how to set up a testing target in XCode unit tests. You'll learn how to write unit tests properly and incorporate concepts like spies and mocks and code coverage. You'll also learn the philosophy behind the architecture of UI tests, and how to mock network and DB layers in testing. Write unbreakable UI tests performance tests, as well. And learn the difference between integration tests and snapshot testing.
This book will show you how to maintain code that's not only bug-free butwill also remain high quality over time and maintainable while you make changes and refactors during an app's life. Testing in all its aspects is the best way of maintaining iOS projects to run fast and reliably long after you've released them. 
Many iOS developers working today lack an understanding of the advantages of testing, and might be unfamiliar with tools that make the job easier, such as XCTest framework. With Pro iOS Testing you'll see how to develop and test apps that work and stay working for a long time. 
What You'll Learn

Set up a stable testing system
Extend an app's lifetime with testing before release
Incorporate testing into your everyday development routine
Write unbreakable UI tests performance tests
Understand the difference between integration tests and snapshot testing



Who This Book Is ForProfessional iOS developers with extensive experience in the basics of building apps.

Avi Tsadok is an accomplished iOS Developer with almost a decade of experience. He currently heads mobile developemnt at Any.do, a leading productivity app. He's also a regular contributor to "Better Programming" and has an active presence on Medium. Having written many iOS articles, he's decided to combine his passion for writing and developing by writing his first book.

Chapter 1 - Introduction for Testing.- Chapter 2 - Setting up our Infrastructure.- Chapter 3 - Writing Tests-The Basics.- Chapter 4 - Writing Tests - Advanced Techniques.- Chapter 5 - Integration Tests.- Chapter 6 - Write Testable Code.- Chapter 7 - User Interface Tests.- Chapter 8 - Cover Another Aspect of Your App - Performance Testing .- Chapter 9 - Snapshot Testing. - Chapter 10: Implement Tests in Our Daily Work Routine.- Chapter 11: Using Command Line Tools.

Erscheinungsdatum
Zusatzinfo 90 Illustrations, black and white; XVII, 302 p. 90 illus.
Verlagsort Berkley
Sprache englisch
Maße 155 x 235 mm
Themenwelt Informatik Betriebssysteme / Server iOS
Informatik Betriebssysteme / Server Macintosh / Mac OS X
Informatik Programmiersprachen / -werkzeuge Mac / Cocoa Programmierung
Schlagworte Ios • Snapshot testing • SWIFT • UI Testing • Unit Testing • XCTest
ISBN-10 1-4842-6381-2 / 1484263812
ISBN-13 978-1-4842-6381-5 / 9781484263815
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
iPhone 15 Plus, iPhone 15 Pro & iPhone 15 Pro Max

von Philip Kiefer

Buch | Softcover (2023)
Markt + Technik (Verlag)
19,95

von Jörg Rieger Espindola; Markus Menschhorn

Buch | Softcover (2023)
Vierfarben (Verlag)
24,90