O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning Path: Android: Test-Driven Android App Development

Video Description

Adopt a smarter way to build fast and dynamic Android apps

In Detail

Android Nougat is the 7th major version of the Android operating system. Test-driven development enables good design. It only makes sense to adopt it for Android N app development.

This Learning Path covers the fundamentals of app development in Android N including the Android Studio and Android SDK, networking concepts with the API, Firebase analytics and crash analysis, and publishing your application on the Play Store . We will then look in detail how test-driven development can be implemented for building apps in Android.

Leverage the power of test-driven development for building high-quality Android apps with this Learning Path.

Prerequisites: Requires knowledge of Java

Resources: Code downloads and errata:

  • Learning Android N Application Development

  • Test-Driven Android

  • PATH PRODUCTS

    This path navigates across the following products (in sequential order):

  • Learning Android N Application Development (4h 29m)

  • Test-Driven Android (5h 22m)

  • Table of Contents

    1. Chapter 1 : Learning Android N Application Development
      1. The Course Overview 00:04:47
      2. Why Android N? 00:03:39
      3. Basics of Android 00:09:02
      4. Anatomy of Our app 00:02:44
      5. Tools Overview 00:07:11
      6. Tools – Android Studio and Emulators 00:08:50
      7. UI Section Overview 00:03:35
      8. Hello World 00:07:48
      9. Home Page Card 00:03:21
      10. Home Page Card Implementation 00:11:06
      11. NewsArticle, Adapters, and RecyclerView 00:04:25
      12. Creating a NewsArticle 00:06:16
      13. Implementing the ArrayAdapter 00:11:46
      14. Implementing the RecyclerView 00:03:34
      15. The Details Page 00:07:34
      16. Event Handling and Navigation 00:04:13
      17. Enabling Navigation 00:06:41
      18. Android N Multiwindow Features 00:03:46
      19. Networking Section Overview 00:03:28
      20. Networking Basics 00:05:48
      21. News API 00:05:41
      22. Parsing the News API Response 00:09:37
      23. Parsing the News API Response – Implementation 00:05:19
      24. Retrofit 00:07:58
      25. Retrofit Implementation 00:09:43
      26. Testing API calls 00:05:19
      27. Connecting the Response to the UI 00:09:41
      28. Analytics and More 00:05:19
      29. Analytics and Crash Reporting Implementation 00:08:57
      30. Addition Attribution 00:11:09
      31. Introduction to Testing in Android 00:07:10
      32. Unit Testing in Android 00:10:09
      33. Unit Testing with Powermock 00:05:58
      34. Instrumentation Testing in Android 00:04:52
      35. Espresso Implementation 00:09:44
      36. Preparing to Upload to the Play Store 00:11:04
      37. Uploading to the Play Store 00:06:18
      38. Best Practices 00:10:39
      39. Review of the Project 00:05:13
    2. Chapter 2 : Test-Driven Android
      1. The Course Overview 00:05:41
      2. Why Test-Driven Design? 00:09:59
      3. The Testing Pyramid 00:05:15
      4. Behavior-Driven Development 00:03:46
      5. Android Project Structure 00:05:25
      6. Best Practices – Interfaces, DTOs, and Layers 00:07:12
      7. Why Interfaces? 00:12:45
      8. DTO Best Practices 00:10:15
      9. Layer Description – UI, Business Logic, and Data Access 00:15:25
      10. Minimizing If Tests 00:15:25
      11. JUnit Syntax 00:12:13
      12. JUnit Annotations 00:05:50
      13. Example with Setup and Teardown 00:10:46
      14. Design for Test 00:05:34
      15. Create a Test-driven Design Test 00:11:43
      16. Given, when, and then syntax 00:10:45
      17. Example – Given, When, and Then 00:14:36
      18. Extended Given, When, and Then Test 00:11:08
      19. More Asserts 00:11:34
      20. More Assert Examples 00:12:57
      21. Hamcrest Asserts 00:14:11
      22. Remove Dependencies with Mockito 00:19:11
      23. Mockito Example 00:16:15
      24. Technical Debt 00:15:45
      25. Unit Test Code Coverage in Android Studio 00:07:01
      26. Build environment 00:13:12
      27. Android Instrumentation Test 00:10:06
      28. Android Instrumentation Test Example 00:12:25
      29. Espresso Overview 00:05:45
      30. Example Espresso Test 00:03:58
      31. Firebase Test Lab 00:06:33