Mobile App Development: Testing an Android App

Android Studio 3.6.1    |    Intermediate
  • 16 videos | 1h 45m 53s
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 26 users Rating 4.5 of 26 users (26)
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

  • 2m 36s
  • 7m 7s
    To run a unit test using the Android Studio UI and analyze the results: FREE ACCESS
  • Locked
    3.  Writing Tests for Utility Functions
    9m 40s
    In this video, you will define a simple unit test that does not involve the use of UI elements of your Android app. FREE ACCESS
  • Locked
    4.  Setup Functions for Tests
    7m 2s
    In this video, find out how to modularize your unit tests by separating the common setup tasks into a separate function. FREE ACCESS
  • Locked
    5.  Running an Instrumented Test
    8m 17s
    In this video, you will learn how to run an instrumented test using Android Studio. FREE ACCESS
  • Locked
    6.  The ActivityTestRule
    6m 35s
    Learn how to code the startup tasks for an instrumented test on one of the Activities in your app. FREE ACCESS
  • Locked
    7.  Writing an Interactive Test
    7m 29s
    Find out how to define a functional test for your Android app involving interactions with various UI elements. FREE ACCESS
  • Locked
    8.  Initializing the HomePage Test
    6m 32s
    Find out how to write functional tests for your Android app involving interactions with spinners, text fields, and buttons. FREE ACCESS
  • Locked
    9.  Testing the Navigation Pane
    4m 55s
    During this video, you will learn how to automate the testing of various UI elements in your app by codifying the navigation to the different Activities. FREE ACCESS
  • Locked
    10.  Testing the HomePage
    4m 56s
    In this video, find out how to execute a functional test against the main Activity of your app and verify the results. FREE ACCESS
  • Locked
    11.  Running Multiple Instrumented Tests
    5m 46s
    In this video, you will run multiple tests that involve common setup tasks and verify the behavior of the app in an emulator. FREE ACCESS
  • Locked
    12.  Testing the Sign Up Activity
    8m 47s
    In this video, you will learn how to verify the functionality of validators in your app by running tests against an Activity that uses them. FREE ACCESS
  • Locked
    13.  Recording an Espresso Test
    9m 17s
    During this video, you will learn how to record your actions on an emulator to simplify the creation of UI tests for your Android app. FREE ACCESS
  • Locked
    14.  Running an Espresso Test
    8m 6s
    During this video, you will learn how to apply final touches to the auto-generated code from an Espresso recording and execute the tests. FREE ACCESS
  • Locked
    15.  Running Tests from the Terminal
    6m 56s
    In this video, you will learn how to run all the tests defined for your Android app from the command line. FREE ACCESS
  • Locked
    16.  Course Summary
    1m 51s
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 5.0 of 2 users Rating 5.0 of 2 users (2)
Rating 4.2 of 35 users Rating 4.2 of 35 users (35)
Rating 4.7 of 13 users Rating 4.7 of 13 users (13)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.2 of 35 users Rating 4.2 of 35 users (35)
Rating 4.4 of 223 users Rating 4.4 of 223 users (223)
Rating 4.4 of 100 users Rating 4.4 of 100 users (100)