Agile Android

  • 51m
  • Godfrey Nolan
  • Apress
  • 2015

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 key Android unit testing tools and how to use them in Android Studio
  • What is the Agile testing pyramid for Android
  • When to use Espresso and when to use JUnit
  • What is mock testing and how to use Mockito in your Android apps
  • What are and how to use third party tools like Hamcrest, Roblectric, Jenkins and more
  • How to apply test driven development (TDD) to Android
  • How to add unit testing to someone else's code

Audience:

This book is for Android app developers looking for an edge to build better quality Android apps. Some experience with Java also helpful.

About the Author

Godfrey Nolan is president of RIIS LLC, where he specializes in website optimization. He has written numerous articles for magazines and newspapers in the United States, the United Kingdom, and Ireland. Nolan has had a healthy obsession with reverse engineering bytecode since he wrote Decompile Once, Run Anywhere, which first appeared in Web Techniques in September 1997.

In this Book

  • Introduction
  • Android Unit Testing
  • Third-Party Tools
  • Mocking
  • Espresso
  • Test-Driven Development
  • Dealing with Legacy Code

YOU MIGHT ALSO LIKE

Rating 4.0 of 2 users Rating 4.0 of 2 users (2)
Rating 4.3 of 84 users Rating 4.3 of 84 users (84)