Skip to content
0:00 / 0:00

#espresso#uitesting#kotlin

Create Espresso Test in Android Studio to test App UI

Cottrell Coding

1.5K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

10K views4 years ago1 recommendation

Mobile developmentTools and practiceAndroid and Jetpack ComposeTesting

Cottrell Coding demonstrates how to set up and write UI tests using the Espresso framework in Android Studio.

In this video, I demonstrate how to use Espresso in Android Studio to test the UI of your app. I show how to set up the build.gradle file. I write two tests, one to prove that a particular UI element is positioned correctly. The second checks that my math is correct. The second is more realistic, as I send data to the UI and click buttons.

Why it's here

1 person recommends this

What people say. Recommended as a practical guide for learning UI testing on Android.

u/GamerFan2012in r/Kotlin • Recommends

On “Best Kotlin Books for Beginners and Developers Must know”

As someone who as been in Android for about 15 years here. I posted this a few days ago but I'll one again copy and paste for you.... Philip Lackner link to this video Coding with Mitch. link to this video Stevdza San(one of the Better ones) link to this video Start by learning UI Components and Jetpack Compose. https://developer.android.com/develop/ui https://m3.material.io Then the main components of Android( Activities, Services, Content Providers, Broadcast Receivers). When you learn Activities, learn how Intents pass data between activities, study Fragments within Activities and how Lifecycles effect both of these. Know the difference between bound and unbound Services and when to use each. Learn about Inte…