Learn Android Test-Driven Development! 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. This is where Android Test-Driven Development comes to the rescue! In this book, you'll learn about Android Test-Driven Development the quick and easy by following fun and easy-to-read tutorials.
Who This Book Is For This book is for the intermediate Android developers who already know the basics of Android and Kotlin development but want to learn Android Test-Driven Development.
Topics Covered in Android Test-Driven Development - Getting Started with Learn the core concepts involved in testing including what is a test, why should you test, what should you test and what you should not test. - Test-Driven Development (TDD): Discover the Red-Green-Refactor steps and how to apply them. - The Testing Learn about the different types of tests and how to organize them. - Unit Learn how to start writing unit tests with TDD using JUnit and Mockito. - Integration Writing tests with different subsystems is a must in today's complex application world. Learn how to test with different subsystems including the persistence and network layers. - Architecting for Explore how to architect your app for testing and why it matters. - TDD on Legacy Take your TDD to the next level by learning how to apply it to existing legacy projects. And much more, including Espresso tests, UI tests, code coverage and refactoring.
One thing you can count after reading this book, you’ll be prepared to take advantage of Android Test-Driven Development in your own apps!
Great introduction to the world of testing and TDD. I had been struggling for awhile to learn it and found the book helpful in how TDD is helpful, why it's important to write testable code, and testing overall with various libraries. A book worth rereading as well. Will definitely recommend to others looking to dive into testing in Android!
You will learn a lot of valuable information by reading this book. I liked the way it explained the testing and the process of TDD. The examples are neat and easy to understand. Highly recommended if you are searching for a resource to understand TDD or testing in android in general.