In this video you will learn how to test Compose UI using Compose test rule.
To follow along, you can optionally clone the starting code from Github and open it in Android Studio .Make sure to switch to the branch: 4-add-compose-ui-tests-start.If you have any questions along the way, make sure to write it in the comment.
Github Repository with both Starting code and the completed state:
https://github.com/superus8r/android-...
(Check out the relevant branch "4-add-compose-ui-tests-start" for this video)
List of videos in this series:
1 - Simple Note App using Room, Kotlin Flows, Hilt, and Jetpack Compose for Android ( • Part 1 - Create a simple Note App for Andr... )
2 - Test Room Database for Android ( • Part 2 - Create a Simple Note App: Test Ro... )
3 - Simple Note App with Improved UI: More Jetpack Compose! ( • Part 3 - Create a Simple Note App: Improve... )
4 - Create a Simple Note App: Test Jetpack Compose UI(This Video)