File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,18 @@ You can call `describeBehaviors` to create a list of `DescribedBehavior` objects
21
21
22
22
``` kotlin
23
23
@RunWith(ParameterizedRobolectricTestRunner ::class )
24
+ // You don't need to use @HiltAndroidTest if you don't use Hilt
24
25
@HiltAndroidTest
25
26
class ArticleListScreenTest (private val behavior : DescribedBehavior <ArticleListScreenRobot >) {
26
27
27
- // ArticleListScreenRobot is a utility class that provides functions to interact with the screen
28
+ // ArticleListScreenRobot is a utility class
29
+ // that provides functions to interact with the screen
28
30
@Inject
29
31
lateinit var articleListScreenRobot: ArticleListScreenRobot
30
32
31
33
@Test
32
34
fun test () {
33
- runRobot(articleListScreenRobot) {
35
+ runTest {
34
36
behavior.execute(articleListScreenRobot)
35
37
}
36
38
}
You can’t perform that action at this time.
0 commit comments