Agile Android

0
(0)

Agile Android
 

  • Author:Godfrey Nolan
  • Length: 95 pages
  • Edition: 1st ed. 2015
  • Publisher: Apress
  • Publication Date: 2016-03-01
  • ISBN-10: 1484297008
  • ISBN-13: 9781484297001
  • Sales Rank: #2538090 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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.

    Table of Contents

    Chapter 1: Introduction
    Chapter 2: Android Unit Testing
    Chapter 3: Third-Party Tools
    Chapter 4: Mocking
    Chapter 5: Espresso
    Chapter 6: Test-Driven Development
    Chapter 7: Dealing with Legacy Code

    中文:

    书名:Agile Android

    这本简明的书指导你如何在Android上进行单元测试和测试驱动的开发,特别是使用JUnit4。你将学习如何快速而正确地进行敏捷开发,显著提高开发效率并减少缺陷数量。

    敏捷实践已经在Java开发中取得了重大进展,然而,在Android项目中看到像单元测试这样基本的东西是非常不寻常的。如果操作正确,敏捷开发将显著提高开发效率并减少缺陷数量。谷歌最终放弃了JUnit3,开发者现在可以在Android Studio中进行更普遍接受的JUnit4测试。

    Riis LLC总裁戈德雷·诺兰表示,到目前为止,让JUnit在Android上测试并运行并不是胆小鬼。然而,现在它进入了Android Studio,没有任何借口。Android开发人员面临着他们自己的一系列问题,如紧密耦合的代码、碎片化、不成熟的测试工具,所有这些都可以使用现有的敏捷工具和技术来解决,这本小书将教给你。

    你将学到什么:

    • 主要的Android单元测试工具有哪些,以及如何在Android Studio中使用它们
    • Android的敏捷测试金字塔是什么
    • 何时使用Espresso以及何时使用JUnit
    • 什么是模拟测试以及如何在你的Android应用程序中使用Mockito
    • 哪些是以及如何使用第三方工具,如Hamcrest、Roblectric、Jenkins等
    • 如何将测试驱动开发(TDD)应用于Android
    • 如何将单元测试添加到其他人的代码中

    Audience:

    这本书是为寻找优势来构建更高质量的Android应用程序的Android应用程序开发人员而写的。对Java有一些经验也是有帮助的。

    Table of Contents

    Chapter 1: Introduction
    第2章:Android单元测试
    第三章:第三方工具
    Chapter 4: Mocking
    Chapter 5: Espresso
    第6章:测试驱动的开发
    第7章:处理遗留代码

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册