About the Book
Concept Of The Book
In Jazz music, Fake Books help performers to learn and perform new songs. They contain the bare minimum needed to play the songs. They are not intended for beginners.
This book is a Fake Book for iOS developers about Test-Driven Development. You cannot learn Test-Driven Development from this book. Use it to look up how to implement many test cases encountered in iOS development.
If you are the kind of person who skips the explanations in blog posts to get to the code examples because most of the times this is all you need, then this book is for you!
Software should be tested. Most developers agree on that. But when it comes to the actual practice of writing tests, many developers think, they have no time for that. Testing is hard. Especially on a platform as iOS and in a language as Swift, which both hasn't beed designed with testability in mind.
This book is aimed to help iOS developers who want to write more tests. It's a collection of typical iOS scenarios and how they can be tested. It is not a complete guide of all the possible ways to write tests. But after you worked with the book for a bit, I sure you'll find ways to test scenarios not (yet) covered in the book.
What Is Covered
This book shows how to test many different scenarios every iOS developer encounters each day (see the table of contents). From easy to test things like delegation to the really hard stuff like alerts and network requests, all is shown without needless clutter. This book does not cover why you should test or why the tests are structured the way they are. Mainly the code is shown. Experienced developers should be able to get all the information they need to start writing tests immediately.
About the Author
Dominik builds iOS apps since 2009. He wrote a book about Test-Driven iOS Development with Swift for beginners. When he is not programming he is searching for pirate treasures with his kids.