-
Notifications
You must be signed in to change notification settings - Fork 27
[#606] Fix: Incorrect imports in HomeScreenTest and MockUtil in Sample Compose androidTest #607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These tests fail to run on my end, not sure if it's an existing issue though π€
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ryan-conway It passed on my side. Not sure if anyone failed to run π Screen.Recording.mp4
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
kaungkhantsoe marked this conversation as resolved.
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,15 +24,15 @@ kotlinxCoroutines = "1.7.3" | |
| kover = "0.7.3" | ||
| ksp = "2.1.0-1.0.29" | ||
| lifecycle = "2.8.7" | ||
| mockk = "1.13.5" | ||
| mockk = "1.13.8" | ||
| moshi = "1.15.1" | ||
| nimbleCommon = "0.1.2" | ||
| okhttp = "4.12.0" | ||
| retrofit = "2.11.0" | ||
| robolectric = "4.13" | ||
| security = "1.0.0" | ||
| testCore = "1.6.1" | ||
| testRules = "1.6.1" | ||
| testRules = "1.7.0-alpha01" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π§© Analysis chainπ Web query:
π‘ Result: androidx.test:rules 1.7.0 (stable) was released July 30, 2025. [1][2] Sources: Update testRules from alpha to stable version. A stable version of androidx.test:rules 1.7.0 is available (released July 2025). Replace π€ Prompt for AI Agents |
||
| timber = "5.0.1" | ||
| turbine = "0.13.0" | ||
|
|
||
|
|
@@ -87,12 +87,18 @@ test-core-ktx = { group = "androidx.test", name = "core-ktx", version.ref = "tes | |
| test-junit = { group = "junit", name = "junit", version.ref = "junit" } | ||
| test-kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" } | ||
| test-kotest-assertions-core = { group = "io.kotest", name = "kotest-assertions-core", version.ref = "kotest" } | ||
| # For Unit Test | ||
| test-mockk = { group = "io.mockk", name = "mockk", version.ref = "mockk" } | ||
| test-turbine = { group = "app.cash.turbine", name = "turbine", version.ref = "turbine" } | ||
| test-compose-ui = { group = "androidx.compose.ui", name = "ui-test-junit4" } | ||
| test-compose-ui-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" } | ||
| test-robolectric = { group = "org.robolectric", name = "robolectric", version.ref = "robolectric" } | ||
| test-rules = { group = "androidx.test", name = "rules", version.ref = "testRules" } | ||
|
|
||
| # For UI Test | ||
| # Ref: https://github.com/mockk/mockk/issues/325#issuecomment-549027350 | ||
| test-mockk-android = { group = "io.mockk", name = "mockk-android", version.ref = "mockk" } | ||
| test-compose-ui-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" } | ||
|
|
||
| [bundles] | ||
| androidx = [ | ||
| "androidx-core", | ||
|
|
@@ -129,7 +135,7 @@ unitTest = [ | |
| "test-mockk", | ||
| ] | ||
| uiTest = [ | ||
| "test-compose-ui", | ||
| "test-compose-ui-junit4", | ||
| "test-robolectric", | ||
| ] | ||
|
|
||
|
|
||



Uh oh!
There was an error while loading. Please reload this page.