Product details
- Publisher : Razeware LLC (December 2, 2019)
- Language : English
- Paperback : 328 pages
- File size : 25629 KB
- by raywenderlich Tutorial Team (Author), Joshua Greene (Author), Michael Katz (Author)
- Format : epub、pdf
Learn how to test iOS Applications!
iOS Test-Driven Development introduces you to a broad range of concepts with regard to not only writing an application from scratch with testing in mind, but also applying these concepts to already written applications which have little or no tests written for their functionality.
Who This Book Is For
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.
Topics Covered in iOS Test-Driven Development
The TDD Cycle: Learn the concepts of Test-Driven Development and how to implement these concepts within an iOS application.Test Expressions and Expectations: Learn how to test both synchronous code using expressions and asynchronous code using expectations.Test RESTful Networking: Write tests to verify networking endpoints and the ability to mock the returned results.Test Authentication: Write tests which run against authenticated endpoints.Legacy Problems: Explore the problems legacy applications written without any unit tests or without thought of testing the code.Breaking Dependencies into Modules: Learn how to take dependencies within your code and compartmentalize these into their own modules with their own tests.Refactoring Large Classes: Learn how to refactor large unweilding classes into smaller more manageable and testable classes / objects.
One thing you can count on: after reading this book, you’ll be prepared to write testable applications which you can have confidence in making changes too with the knowledge your tests will catch breaking changes.