Created
July 17, 2023 14:17
-
-
Save zurche/11ae8c5a2d400efcae6d875510fe562a to your computer and use it in GitHub Desktop.
Our tests backbone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ClothingScreenTest { | |
@get:Rule | |
val composeTestRule = createComposeRule() | |
@Test | |
fun whenFavouriteIsTrueThenFilledHeartIconIsDisplayed() { | |
composeTestRule.setContent { | |
ClothingAppTDDTheme { | |
// Our composable to test here | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment