Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to test fragments in isolation using the androidx.test "launchInContainer" method in this UI testing tutorial with Espresso. Explore the process of writing and executing instrumentation tests for Android fragments, including the creation of fragment factories, managers, and singletons. Discover techniques for testing movie fragments, star actors fragments, and dummy movie fragments. Follow along as the instructor guides you through writing your first test and building a comprehensive test suite. Gain valuable insights into UI testing practices for Android development using Espresso framework.
Syllabus
Introduction
Fragment Factory
Fragment Manager
MovieFragmentFactory
Singleton Object
Star Actors Fragment
Dummy Movies Fragment
Writing the Test
Writing the First Test
Building a Test Suite
Taught by
CodingWithMitch