1 min readSep 17, 2020
As for now, Compose provides the createComposeRule() function for test rule and several functions similar to Espresso.
You can also use createAndroidComposeRule() for testing screens with mixed Compose and old Views.
It also has built-in tools for screenshot testing.
You can find more information here: https://developer.android.com/jetpack/compose/testing?hl=ru