Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Testing Activities in Isolation with Espresso - Part 2

CodingWithMitch via YouTube

Overview

Learn how to test activities in isolation using Espresso and androidx.test in this 28-minute tutorial video. Explore the differences between ActivityScenario and ActivityScenarioRule, practice matching with text in views, and master checking visibility of UI elements. Dive into a step-by-step guide covering dependencies, activity creation, app testing, UI testing, and running tests. Gain hands-on experience with generating test functions, launching activities, and working with secondary activities. Access the accompanying code repository and free course materials to enhance your Android UI testing skills.

Syllabus

Intro
Dependencies
Create an Activity
Testing the App
Testing the Activity
Generating a Test Function
Launching an Activity
Testing the UI
Running the tests
Secondary Activity
Outro

Taught by

CodingWithMitch

Reviews

Start your review of Testing Activities in Isolation with Espresso - Part 2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.