Skip to content

#314 UI tests#315

Merged
Kaaveh merged 7 commits intokmpfrom
313-refine-tests
Feb 25, 2026
Merged

#314 UI tests#315
Kaaveh merged 7 commits intokmpfrom
313-refine-tests

Conversation

@Kaaveh
Copy link
Owner

@Kaaveh Kaaveh commented Feb 25, 2026

Fix #313 and #314

- Added `MarketDetailScreenTest` and `MarketListScreenTest` using Robolectric and Compose Test library.
- Updated `MarketDetailScreen` visibility to `internal` to allow testing.
- Integrated Robolectric, JUnit Vintage, and Compose UI test dependencies in `libs.versions.toml` and relevant build files.
- Added Robolectric and Kotest extensions to the core test module.
- Removed `kotestExtensionsRobolectric` version and library definition from `gradle/libs.versions.toml`.
- Removed `kotest-extensions-robolectric` from `core/test/build.gradle.kts`.
- Add a test to confirm the favorited icon is displayed when the market item is marked as a favorite.
- Set the content description on the `FavoriteIcon` to distinguish between favorited and not-favorited states, improving testability and accessibility.
@Kaaveh Kaaveh self-assigned this Feb 25, 2026
@github-actions
Copy link

github-actions bot commented Feb 25, 2026

Warnings
⚠️ Please consider breaking up this pull request.
Messages
📖 Thanks @Kaaveh!

Generated by 🚫 Danger Kotlin against 514f211

The `robolectric` dependency is no longer needed in the `core/test` module and has been removed.
@Kaaveh Kaaveh merged commit 4899c33 into kmp Feb 25, 2026
2 checks passed
@Kaaveh Kaaveh deleted the 313-refine-tests branch February 25, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Test] Refine tests

1 participant