Skip to main content
  • Book
  • © 2015

Agile Android

Apress

Authors:

  • This mini book walks you through how to get unit testing and mocking working for both new and existing Android projects
  • Done correctly, Agile development results in a significant increase in development efficiency and a reduction in the number of defects
  • This book shows you how it's done quickly but correctly

Buy it now

Buying options

eBook USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 24.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (7 chapters)

  1. Front Matter

    Pages i-xv
  2. Introduction

    • Godfrey Nolan
    Pages 1-13
  3. Android Unit Testing

    • Godfrey Nolan
    Pages 15-24
  4. Third-Party Tools

    • Godfrey Nolan
    Pages 25-43
  5. Mocking

    • Godfrey Nolan
    Pages 45-57
  6. Espresso

    • Godfrey Nolan
    Pages 59-68
  7. Test-Driven Development

    • Godfrey Nolan
    Pages 69-82
  8. Dealing with Legacy Code

    • Godfrey Nolan
    Pages 83-91
  9. Back Matter

    Pages 93-95

About this book

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 them
  • What is mock testing and the mock testing learning objectives and how to apply these to your Android apps
  • How to use dependency injection
  • How to apply test driven development to Android
  • How 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.

    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.

    Bibliographic Information

    Buy it now

    Buying options

    eBook USD 19.99
    Price excludes VAT (USA)
    • Available as EPUB and PDF
    • Read on any device
    • Instant download
    • Own it forever
    Softcover Book USD 24.99
    Price excludes VAT (USA)
    • Compact, lightweight edition
    • Dispatched in 3 to 5 business days
    • Free shipping worldwide - see info

    Tax calculation will be finalised at checkout

    Other ways to access