Agile Android
暫譯: 敏捷 Android

Godfrey Nolan

  • 出版商: Apress
  • 出版日期: 2015-11-20
  • 售價: $1,300
  • 貴賓價: 9.5$1,235
  • 語言: 英文
  • 頁數: 116
  • 裝訂: Paperback
  • ISBN: 1484297008
  • ISBN-13: 9781484297001
  • 相關分類: AndroidAgile Software
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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.

商品描述(中文翻譯)

這本簡明的書籍將指導您如何在 Android 上進行單元測試和測試驅動開發,特別是使用 JUnit 4。您將學習如何快速且正確地進行敏捷開發,顯著提高開發效率並減少缺陷數量。

敏捷實踐在 Java 開發中已經取得了重大進展,然而在 Android 專案中看到如此基本的單元測試卻非常罕見。正確執行的敏捷開發能顯著提高開發效率並減少缺陷數量。Google 最終擺脫了 JUnit 3,開發者現在可以在 Android Studio 中進行更普遍接受的 JUnit 4 測試。

直到現在,在 Android 中啟動 JUnit 測試並不是「膽小者」能夠做到的。然而,根據 RIIS LLC 的總裁 Godfrey Nolan 的說法,「現在它已經在 Android Studio 中,沒有藉口了。」Android 開發者面臨著一系列問題,例如緊密耦合的代碼、碎片化和不成熟的測試工具,而這些問題都可以通過本書將教給您的現有敏捷工具和技術來解決。

您將學到的內容:
- 什麼是關鍵的 Android 單元測試工具以及如何在 Android Studio 中使用它們
- Android 的敏捷測試金字塔是什麼
- 何時使用 Espresso,何時使用 JUnit
- 什麼是模擬測試以及如何在您的 Android 應用中使用 Mockito
- 什麼是第三方工具,如 Hamcrest、Roblectric、Jenkins 等,以及如何使用它們
- 如何將測試驅動開發 (TDD) 應用於 Android
- 如何將單元測試添加到他人的代碼中

讀者對象:
本書適合尋求提升質量的 Android 應用開發者。具備一些 Java 經驗也會有所幫助。