Skip to content

Conversation

andremion
Copy link
Contributor

@andremion andremion commented Sep 16, 2025

🎯 Goal

Increase coverage of the COMPOSE module.

Note

Coverage of other modules can be improved on another task.

🛠 Implementation details

  • Use Kover plugin for a simpler coverage configuration, filtering out generated and preview files.
  • Set up coverage.gradle file to filter out untestable modules and provide accurate source files to SonarQube.
  • Add snapshot tests and preview functions to some missing stateless components.
  • Add screen tests (using Robolectric) to the screen-bound components.

Extra tasks

  • Remove the fixed height modifier in FileUploadItem.
  • Introduce MessageComposerCommandSuggestionListHeader component factory.
  • Deprecate unused AudioWaveVSeekbar

Copy link
Contributor

github-actions bot commented Sep 16, 2025

SDK Size Comparison 📏

SDK Before After Difference Status
stream-chat-android-client 3.21 MB 3.21 MB 0.00 MB 🟢
stream-chat-android-offline 3.44 MB 3.44 MB 0.00 MB 🟢
stream-chat-android-ui-components 10.52 MB 10.52 MB 0.00 MB 🟢
stream-chat-android-compose 12.70 MB 12.71 MB 0.01 MB 🟢

@andremion andremion force-pushed the AND-730-increase-code-coverage-of-compose-module branch 16 times, most recently from 9e65d1e to d5da2bd Compare September 19, 2025 16:40
@andremion andremion force-pushed the AND-730-increase-code-coverage-of-compose-module branch from a5cf3e8 to cd6c9b7 Compare September 22, 2025 15:25
@andremion andremion marked this pull request as ready for review September 22, 2025 15:35
@andremion andremion requested a review from a team as a code owner September 22, 2025 15:35
Copy link
Contributor

@gpunto gpunto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just some minor comments

@andremion andremion force-pushed the AND-730-increase-code-coverage-of-compose-module branch from 2393a1a to 09e7d70 Compare September 23, 2025 15:02
Copy link
Contributor

@gpunto gpunto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

@andremion andremion enabled auto-merge (squash) September 23, 2025 15:23
@andremion andremion merged commit 3909f95 into develop Sep 23, 2025
13 checks passed
@andremion andremion deleted the AND-730-increase-code-coverage-of-compose-module branch September 23, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants