Let's do some Testing - Jetpack Compose

preview_player
Показать описание
🏆 My Online Courses

☕ Buy me a Coffee

📝Medium

💻 Github

📸 Instagram

💎 Become a Premium Member

In this video I'm going to showcase how to test your app with Jetpack Compose in Android. We are going to create a couple of different test cases for my MessageBarCompose library, that I've shared recently as an open source project.

⌚Timestamps
0:00 - Introduction
2:32 - Test Dependencies
2:54 - Create Test Class
4:02 - Finders and Matchers
6:45 - First Test Case
12:11 - Second Test Case
15:54 - Third Test Case
17:34 - Forth Test Case
20:24 - Conclusion
Рекомендации по теме
Комментарии
Автор

Thanks mate. This is incredible stuff. It's Complete one now. It can be guide for developing and testing library.

vengateshm
Автор

Thanks for the awesome video. Also if you could share some videos on how to calculate compostable functions test coverage, that would be really helpful ❤

mintunandi
Автор

Great tutorial bro🥰😘
Keep giving such a great content about jetpack compose👍

Shivam-edfn
Автор

You could also do this so you wont setContent everytime

@Before
fun setUp() {
composeTestRule.setContent {
state = rememberMessageBarState()
= state) {}
}
}

ernestguevara
Автор

for those who wants to see error mesaage under the test N3, press pause on 17:24

evgenii.panaite
Автор

Great 💫
Is that possible to add Extension for Test tags as Annotation It will get faster

wmdz
Автор

Thanks for the great video!
Could you share the github link for source code? Thanks!

sean.d