Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to use the IntentTestRule in Espresso for testing intents on Android in this tutorial video. Explore the process of testing the ACTION_PICK intent, which enables users to select images from their phone's gallery and retrieve results through the onActivityResult function. Gain hands-on experience with UI (Instrumentation) tests using Espresso, focusing on gallery intent implementation and startActivityForResult. Access the provided source code and follow along with practical examples to enhance your Android UI testing skills. This video is part of a comprehensive free course on UI testing for beginners, offering valuable insights for Android developers looking to improve their testing practices.
Syllabus
Intro
What is Espresso Intense
Dependencies
Source Code
Disclaimer
Writing the Test
MainActivityTest
Test Function
Test Intent
Match Intent
Extras
ExpectedResult
Problem
Test
Taught by
CodingWithMitch