This concise book walks you through how to get unit testing and test driven development done on Android, specifically using JUnit 4. You'll learn how to do agile development quickly and correctly, with a significant increase in development efficiency and a reduction in the number of defects.
Agile practices have made major inroads in Java development, however it's very unusual to see something as basic as unit testing on an Android project. Done correctly, Agile development results in a significant increase in development efficiency and a reduction in the number of defects. Google have finally moved away from JUnit 3 and the developer can now do the more commonly accepted JUnit 4 tests in Android Studio.
Up until now getting JUnit testing up and running in Android was not for the "faint hearted." However, "now it's in Android Studio, there is no excuse," according to the author Godrey Nolan, president of RIIS LLC. Android developers are faced with their own set of problems such as tightly coupled code, fragmentation, immature testing tools all of which can be solved using existing Agile tools and techniques that this short book will teach you.
What You'll Learn:
What are the primary agile learning objectives applicable to Android What are the key Android unit testing tools and how to use themWhat is mock testing and the mock testing learning objectives and how to apply these to your Android appsHow to use dependency injectionHow to apply test driven development to AndroidHow to deal with legacy code, a big issue with regards to Android
Audience:
This book is for experienced Android app developers looking for an edge to build better and more agile Android apps. Some experience with Java also helpful.
This book is very concise and is a very high level overview of writing tests for native Android development project. It gives you a taste of the tools that you can use to write tests and aid writing more tests.
Who does this book help? If you're a novice developer wondering what tools to use and how to get started using those, then this book is for you. You could perhaps be that curious Manager who is wanting to wrap his/her head on the tools that your Android development teams use.
Good Introduction to Android Test frameworks and CI specially for Junior Android Developers, also the book talk about TDD and how to deal with old code with code examples
This is a book I looked for. It clearly describe how to do testing on Android in correct and simple way. I found about this book via author's blog at http://riis.com/blog/hamcrest-jacoco-... almost immediately knew I have to buy it.
Looks like a multi-part blog post converted into a small book. Offers a generic view of Android testing frameworks. I think the book title should be something like "Android testing survey".