Last active
November 21, 2021 04:48
-
-
Save manhduy/a7c163b23e7e160c7cce8cf3104a7d86 to your computer and use it in GitHub Desktop.
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
@HiltAndroidTest | |
@RunWith(AndroidJUnit4::class) | |
class CalculatorActivityTest { | |
@BindValue | |
@JvmField | |
val viewModel = mockk<CalculatorViewModel>(relaxed = true) | |
@get:Rule | |
var hiltRule = HiltAndroidRule(this) | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment