Название: iOS Test-Driven Development by Tutorials (2nd Edition) Автор: Joshua Greene, Michael Katz Издательство: Razeware LLC Год: 2022 Страниц: 332 Язык: английский Формат: pdf (true), epub Размер: 27.7 MB
Learn How to Test iOS Applications!
This book is for intermediate iOS developers who already know the basics of iOS and Swift development but want to learn how to write code which is both testable and maintainable. To start, you’ll learn the TDD Cycle and how to implement these concepts within an iOS application. The book then takes you through Test Expressions and Expectation so that you can test synchronous code. You’ll then write tests to verify networking endpoints and the ability to mock the returned results, followed by writing tests that run against authentication endpoints. Continue trouble-shooting your apps by understanding common legacy problems, as well as breaking dependencies into modules. And, finally, refactor large classes into smaller, more manageable classes and objects.
Section introductions: I. Introduction This is a high-level introduction to TDD, explaining why it’s important and how it will help you. You’ll also be introduced to the TDD Cycle in this section. This is the foundation for how TDD works and guiding principles on the best way to apply it. II. Beginning TDD You’ll learn the basics of TDD in this section, including XCTest, test expressions, mocks and test expectations. The chapters in this section build an example app called Fitness. This is the premier fitness-coaching app based on the “Loch Ness” workout: You’ll have to outrun, outswim and outclimb Nessie (or get eaten)! III. TDD with Networking You’ll learn about TDD and networking in this section, including writing tests for RESTful networking calls, downloading images and using networking clients. You’ll create an app called Dog Patch throughout this section. Dog Patch lets dog lovers everywhere connect with kind breeders to help get the dog of their dreams. IV. TDD in Legacy Apps This section will teach you how to start TDD in a legacy app that wasn’t created with TDD and doesn’t have sufficient test coverage. You’ll update an app called MyBiz throughout this section. MyBiz is an enterprise resource planning (ERP) app for running a business, including employee management and scheduling, time tracking, payroll and inventory management.
Скачать iOS Test-Driven Development by Tutorials (2nd Edition)
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.