UI Testing for Beginners (Espresso and androidx.test)
This video is part of a FREE course: https://codingwithmitch.com/courses/ui-testing-for-beginners/ What you'll learn: Kotlin Testing Activities in Isolation: ActivityScenario ActivityScenarioRule Activity Navigation: Intents and startActivity Back navigation Test Suites: Running multiple test classes in a suite Firebase Test Lab: Run UI tests on hundreds of virtual devices using Firebase Test Lab Testing Fragments in Isolation: FragmentScenario launchInContainer FragmentFactory Fragment Navigation: Testing fragment transactions Fragment transactions with FragmentFactory Mockito: Mocking dependencies Constructor injection (no dagger) Intents: IntentsTestRule Retrieving activity results Choosing image from gallery Capturing an image with camera Dialogs: Material Dialogs (Library) Is dialog visible? Capturing input from user Toasts: Is toast visible? RecyclerView: Scrolling to list item Clicking list items List item verification Espresso Idling Resource: Required for background work Configuration Changes: Simulating a configuration change Creating Custom Test Rules: TestRule TestWatcher @SmallTest, @MediumTest, @LargeTest: What do these mean? High quality android courses: https://codingwithmitch.com/courses/ Github repo: https://github.com/mitchtabian/EspressoUITest-Examples Instagram: https://www.instagram.com/codingwithmitch Twitter: https://twitter.com/mitch_tabian . . . #Espresso
Download
0 formatsNo download links available.