Mobile App Development: Testing an Android App
Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level
Overview/Description
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.
Expected Duration (hours)
1.8
Lesson Objectives Mobile App Development: Testing an Android App
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
Course Number: it_apmadadj_06_enus
Expertise Level
Intermediate