Skip to content

Commit 2c5ba18

Browse files
committed
Refactor README code
1 parent 3944400 commit 2c5ba18

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ You can call `describeBehaviors` to create a list of `DescribedBehavior` objects
2323
@RunWith(ParameterizedRobolectricTestRunner::class)
2424
// You don't need to use @HiltAndroidTest if you don't use Hilt
2525
@HiltAndroidTest
26-
class ArticleListScreenTest(private val behavior: DescribedBehavior<ArticleListScreenRobot>) {
26+
class ArticleListScreenTest(
27+
private val behavior: DescribedBehavior<ArticleListScreenRobot>
28+
) {
2729

28-
// ArticleListScreenRobot is a utility class
29-
// that provides functions to interact with the screen
30+
// ArticleListScreenRobot is not a part of RoboSpec.
31+
// I recommend that you provide a Robot or PageObject for easy testing
3032
@Inject
3133
lateinit var articleListScreenRobot: ArticleListScreenRobot
3234

0 commit comments

Comments
 (0)