Agile Android+code

Купить бумажную книгу и читать

Купить бумажную книгу

По кнопке выше можно купить бумажные варианты этой книги и похожих книг на сайте интернет-магазина "Лабиринт".

Using the button above you can buy paper versions of this book and similar books on the website of the "Labyrinth" online store.

Реклама. ООО "ЛАБИРИНТ.РУ", ИНН: 7728644571, erid: LatgCADz8.

Название:Agile Android

Автор Godfrey Nolan

Издательство: APRESS

Год: 2015

Страниц:116

Язык: English

Формат: pdf, code

Размер: 2 Mb, 2 Mb

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.

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 author Godfrey Nolan, president of RIIS LLC. Android developers are faced with their own set of problems such as tightly coupled code, fragmentation, and 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 is the Agile testing pyramid for Android

What are the Android unit testing tools and how to use them, including those found in Android Studio

What are and how to use third party tools like JUnit, Hamcrest, Roboletric, Jenkins and more

What is and how to use mocking, including mocking frameworks like Mockito to mock out Web Services, Shared Preferences and SQLite databases

How to do test driven development (TDD) in Android

How to manage legacy code and applying TDD to existing projects

Who this book is for

Android developers and IT managers. Healthcare, financial, entertainment and government. Senior developers, software architects, lead developer, IT directors, CTOs, CISOs.

Table of Contents

Lesson 1: Introduction to Agile Learning objectives

1.1 Understand the benefits of using an Agile approach to Android development

1.2 Understand common defects in Android Applications

1.3 Explore the Agile Testing Pyramid for Android

Lesson 2: Android Unit Testing Tools

Learning objectives

2.1 Create Hello World Unit Test in Android

2.2 Run Unit Tests from the command line

2.3 Explore Android Assertions

2.4 Test for common defects in Android Applications

2.5 Setup and Teardown

2.6 Grouping tests

2.7 Adding unit tests to a Twitter client

2.8 Explore more Android Assertions

2.9 Run your tests using Gradle

Lesson 3: Third Party Tools

Learning objectives

3.1: Understand the difference between jUnit3 and jUnit4

3.2: Create jUnit4 Unit Test in Android Studio

3.3: Run code coverage tools in Android

3.4: Test activities on multiple devices using Spoon

3.5: Create an Android project in Github

Lesson 4: Mocking Learning objectives

4.1 Stubs vs test double vs mocking frameworks

4.2 Using a stub to mock out a SQLite database

4.3 Using a test double to mock out a SQLite database

4.4 Using EasyMock to mock out a SQLite database

Lesson 5: Dependency Injection Learning objectives

5.1 Understanding Compile Time Dependency Injection

5.2 Create an Android unit test using Dagger

5.3 Using Dagger to mock a SQLite databases

Lesson 7: Test Driven Development Learning objectives

7.1 Understanding Test Driven Development

7.2 Writing Testable Code

7.3 Refactoring code

7.4 Writing a Twitter client using TDD

Lesson 8: Dealing with Legacy Code Learning objectives

8.1 Applying TDD to an Existing Project

8.2 Ring Fence Existing Project

8.3 Refactoring Existing Code to increase Code Coverage

pdf

code

Дата создания страницы: