Mobile App Development: Testing an Android App

Android Studio 3.6.1    |    Intermediate
  • 16 Videos | 1h 52m 53s
  • Includes Assessment
  • Earns a Badge
Likes 9 Likes 9
In this course, you'll be introduced to testing for an Android app. You'll learn about basic unit testing and functional tests that need to be performed on a virtual device. You'll also examine the role of the Espresso Framework in simplifying the coding of UI tests by recording your actions on an emulator.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    run a unit test using the Android Studio UI and analyze the results
    define a simple unit test that does not involve the use of UI elements of your Android app
    modularize your unit tests by separating the common setup tasks into a separate function
    execute an instrumented test using Android Studio
    code the startup tasks for an instrumented test on one of the Activities in your app
    define a functional test for your Android app involving interactions with various UI elements
    write functional tests for your Android app involving interactions with spinners, text fields, and buttons
  • automate the testing of various UI elements in your app by codifying the navigation to the different Activities
    execute a functional test against the main Activity of your app and verify the results
    run multiple tests that involve common setup tasks and verify the behavior of the app in an emulator
    verify the functionality of validators in your app by running tests against an Activity that uses them
    record your actions on an emulator in order to simplify the creation of UI tests for your Android app
    apply final touches to the auto-generated code from an Espresso recording and execute the tests
    run all the tests defined for your Android app from the command line
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 36s
    UP NEXT
  • Playable
    2. 
    The Test Interface in Android Studio
    7m 7s
  • Locked
    3. 
    Writing Tests for Utility Functions
    9m 40s
  • Locked
    4. 
    Setup Functions for Tests
    7m 2s
  • Locked
    5. 
    Running an Instrumented Test
    8m 17s
  • Locked
    6. 
    The ActivityTestRule
    6m 35s
  • Locked
    7. 
    Writing an Interactive Test
    7m 29s
  • Locked
    8. 
    Initializing the HomePage Test
    6m 32s
  • Locked
    9. 
    Testing the Navigation Pane
    4m 55s
  • Locked
    10. 
    Testing the HomePage
    4m 56s
  • Locked
    11. 
    Running Multiple Instrumented Tests
    5m 46s
  • Locked
    12. 
    Testing the Sign Up Activity
    8m 47s
  • Locked
    13. 
    Recording an Espresso Test
    9m 17s
  • Locked
    14. 
    Running an Espresso Test
    8m 6s
  • Locked
    15. 
    Running Tests from the Terminal
    6m 56s
  • Locked
    16. 
    Course Summary
    1m 51s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.