Nicht aus der Schweiz? Besuchen Sie lehmanns.de

Agile Android (eBook)

(Autor)

eBook Download: PDF
2015 | 1st ed.
XV, 95 Seiten
Apress (Verlag)
978-1-4842-9701-8 (ISBN)

Lese- und Medienproben

Agile Android - Godfrey Nolan
Systemvoraussetzungen
19,99 inkl. MwSt
(CHF 19,50)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

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.



    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.
    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 "e;faint hearted."e; However, "e;now it's in Android Studio, there is no excuse,"e; 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 themWhat is mock testing and the mock testing learning objectives and how to apply these to your Android appsHow to use dependency injectionHow to apply test driven development to AndroidHow to deal with legacy code, a big issue with regards to AndroidAudience: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.

    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.

    Lesson 1: Introduction to Agile Learning objectives1.1 Understand the benefits of using an Agile approach to Android development1.2 Understand common defects in Android Applications1.3 Explore the Agile Testing Pyramid for AndroidLesson 2: Android Unit Testing ToolsLearning objectives2.1 Create Hello World Unit Test in Android2.2 Run Unit Tests from the command line2.3 Explore Android Assertions2.4 Test for common defects in Android Applications2.5 Setup and Teardown2.6 Grouping tests2.7 Adding unit tests to a Twitter client2.8 Explore more Android Assertions2.9 Run your tests using GradleLesson 3: Third Party ToolsLearning objectives3.1: Understand the difference between jUnit3 and jUnit43.2: Create jUnit4 Unit Test in Android Studio3.3: Run code coverage tools in Android3.4: Test activities on multiple devices using Spoon3.5: Create an Android project in GithubLesson 4: Mocking Learning objectives4.1 Stubs vs test double vs mocking frameworks4.2 Using a stub to mock out a SQLite database4.3 Using a test double to mock out a SQLite database4.4 Using EasyMock to mock out a SQLite databaseLesson 5: Dependency Injection Learning objectives5.1 Understanding Compile Time Dependency Injection5.2 Create an Android unit test using Dagger5.3 Using Dagger to mock a SQLite databasesLesson 7: Test Driven Development Learning objectives7.1 Understanding Test Driven Development7.2 Writing Testable Code7.3 Refactoring code7.4 Writing a Twitter client using TDDLesson 8: Dealing with Legacy Code Learning objectives8.1 Applying TDD to an Existing Project8.2 Ring Fence Existing Project8.3 Refactoring Existing Code to increase Code Coverage

    Erscheint lt. Verlag 25.11.2015
    Zusatzinfo XV, 95 p. 59 illus.
    Verlagsort Berkeley
    Sprache englisch
    Themenwelt Mathematik / Informatik Informatik Netzwerke
    Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
    Informatik Software Entwicklung Mobile- / App-Entwicklung
    Informatik Weitere Themen Smartphones / Tablets
    Schlagworte Agile • Android • Best Practices • Computer Science • Java • programming • Scrum • software development
    ISBN-10 1-4842-9701-6 / 1484297016
    ISBN-13 978-1-4842-9701-8 / 9781484297018
    Haben Sie eine Frage zum Produkt?
    PDFPDF (Wasserzeichen)
    Größe: 2,4 MB

    DRM: Digitales Wasserzeichen
    Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

    Dateiformat: PDF (Portable Document Format)
    Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

    Systemvoraussetzungen:
    PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
    eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
    Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

    Zusätzliches Feature: Online Lesen
    Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

    Buying eBooks from abroad
    For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

    Mehr entdecken
    aus dem Bereich
    Robust and fast cross-platform application development

    von Marco Cantu; Pawel Glowacki

    eBook Download (2024)
    Packt Publishing Limited (Verlag)
    CHF 29,30