Details

Pro iOS Testing


Pro iOS Testing

XCTest Framework for UI and Unit Testing

von: Avi Tsadok

62,99 €

Verlag: Apress
Format: PDF
Veröffentl.: 19.10.2020
ISBN/EAN: 9781484263822
Sprache: englisch

Dieses eBook enthält ein Wasserzeichen.

Beschreibungen

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.<div><br></div><div>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.</div><div><br></div><div>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.&nbsp;</div><div><br></div><div>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&nbsp;<i>Pro iOS Testing</i> you'll see how to develop and test apps that work and stay working for a long time.&nbsp;<div><br></div><div><b>What You'll Learn</b></div><div><ul><li>Set up a stable testing system</li><li>Extend an app's lifetime with testing before release</li><li>Incorporate testing into your everyday development routine</li><li>Write unbreakable UI tests performance tests</li><li>Understand the difference between integration tests and snapshot testing<br></li></ul></div><div><br></div><div><b>Who This Book Is For</b></div><div>Professional iOS developers with extensive experience in the basics of building apps.</div></div>
Chapter 1 - Introduction for Testing.- Chapter 2 - Setting up our Infrastructure.- Chapter 3 - Writing Tests-The Basics.-&nbsp;Chapter 4 - Writing Tests - Advanced Techniques.-&nbsp;Chapter 5 - Integration Tests.-&nbsp;Chapter 6 - Write Testable Code.-&nbsp;Chapter 7 - User Interface Tests.-&nbsp;Chapter 8 - Cover Another Aspect of Your App - Performance Testing .-&nbsp;Chapter 9 - Snapshot Testing. - Chapter 10: Implement Tests in Our Daily Work Routine.- Chapter 11: Using Command Line Tools.<div><div><b></b></div></div>
<b>Avi Tsadok </b>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.
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.<div><br></div><div>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.</div><div><br></div><div>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.&nbsp;</div><div><br></div><div>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&nbsp;<i>Pro iOS Testing</i>&nbsp;you'll see how to develop and test apps that work and stay working for a long time.&nbsp;<div><br></div><div>You will:</div><div><ul><li>Set up a stable testing system</li><li>Extend an app's lifetime with testing before release</li><li>Incorporate testing into your everyday development routine</li><li>Write unbreakable UI tests performance tests</li><li>Understand the difference between integration tests and snapshot testing</li></ul></div></div>
Build a testing infrastructure Draft code ready for testing Incorporate spies, mocks, and code coverage

Diese Produkte könnten Sie auch interessieren:

Ambient Intelligence
Ambient Intelligence
von: Gian Luca Foresti, Tim Ellis
PDF ebook
96,29 €
Access Control Systems
Access Control Systems
von: Messaoud Benantar
PDF ebook
96,29 €