2nd Edition. — Razeware LLC, 2021. — 405 p.
Android 11, Android Studio 4.2.1, Kotlin 1.5 & Mockito 2.1.0
Writing apps is hard. Writing testable apps is even harder, but it doesn’t have to be. Reading and understanding all the official Google documentation on testing can be time-consuming — and confusing. In this book, you’ll learn about Android test-driven development the quick and easy way: by following fun and easy-to-read tutorials. Learn to write sustainable, testable apps, as well as to apply testing strategies to legacy projects via Espresso and UI tests, code coverage and refactoring.
Who is this book for?This book is intended for Android developers who know at least the basics of the Android framework. You should also know enough about Kotlin that you’re comfortable working with it. Although it’s not required, it’s helpful to have an understanding of design patterns, dependency injection and app architecture. Whether you’re new to testing and TDD, or eager to apply your existing knowledge to your apps, you’ll find the information within this book useful. This book covers everything from the bare basics of testing knowledge to applying that knowledge to existing code using TDD. If any of this interests you, read on!