Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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