Here’s a great article from Ray Wenderlich | High quality programming tutorials: iOS, Android, Swift, Kotlin, Unity, and more
<h2>Learn Test-Driven Development on Android!</h2>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<h3>Topics Covered in This Book</h3>
<ul>
<li>
<p><strong>Getting Started with Testing</strong>: 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.</p>
</li>
<li>
<p><strong>Test-Driven Development (TDD)</strong>: Discover the Red-Green-Refactor steps and how to apply them.</p>
</li>
<li>
<p><strong>The Testing Pyramid</strong>: Learn about the different types of tests and how to organize them.</p>
</li>
<li>
<p><strong>Unit Tests</strong>: Learn how to start writing unit tests with TDD using JUnit and Mockito.</p>
</li>
<li>
<p><strong>Integration Tests</strong>: 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.</p>
</li>
<li>
<p><strong>Architecting for Testing</strong>: Explore how to architect your app for testing and why it matters.</p>
</li>
<li>
<p><strong>TDD on Legacy Projects</strong>: Take your TDD to the next level by learning how to apply it to existing legacy projects.</p>
</li>
</ul>
Source link