Android Test-Driven Development by Tutorials, 2nd Edition: Learn Android TDD by Building Real-World Apps
- Length: 420 pages
- Edition: 1
- Language: English
- Publisher: Razeware LLC
- Publication Date: 2021-07-20
- ISBN-10: 1950325415
- ISBN-13: 9781950325412
- Sales Rank: #2795679 (See Top 100 Books)
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 way: 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 Testing: 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 Pyramid: Learn about the different types of tests and how to organize them.
- Unit Tests: Learn how to start writing unit tests with TDD using JUnit and Mockito.
- Integration Tests: 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 Testing: Explore how to architect your app for testing and why it matters.
- TDD on Legacy Projects: 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 on: after reading this book, you’ll be prepared to take advantage of Android Test-Driven Development in your own apps!