Skip to content

fix: fixing unit tests in core and features (WPB-23934)#4632

Merged
sbakhtiarov merged 3 commits intodevelopfrom
fix/unit-tests-build
Mar 12, 2026
Merged

fix: fixing unit tests in core and features (WPB-23934)#4632
sbakhtiarov merged 3 commits intodevelopfrom
fix/unit-tests-build

Conversation

@sbakhtiarov
Copy link
Contributor

@sbakhtiarov sbakhtiarov commented Mar 9, 2026

https://wearezeta.atlassian.net/browse/WPB-23934

https://wearezeta.atlassian.net/browse/WPB-23934

What's new in this PR?

Issues

  1. Unit tests from /core and /features submodules are broken after recent updates.
  2. Unit tests from /core and /features submodules are not running on PR builds
  3. runUnitTests task fails on release build

Solutions

  • Update unit tests
  • Include /core and /features submodules into testCoverage task which is running on PR build
  • Update runUnitTests task configuration

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

@sbakhtiarov looks like you are rolling back kalium to a previous commitish.

This means that the PR's target branch (develop) is using a newer version of Kalium, and the changes in this PR will rollback Kalium to an older version.

develop This PR
e3dd93455bbf82cf8ddcc63e40167b8da5c7cc13 d370e84f5242e83d4fbd8b69badf5ba856e0b663

Is this intentional?

@sbakhtiarov sbakhtiarov requested review from Garzas, MohamadJaara, ohassine and saleniuk and removed request for saleniuk March 9, 2026 18:13
description = "Reports code coverage on tests within the Wire Android codebase."
dependsOn("koverXmlReport")

val validSubprojects = setOf("core", "features")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think CI is not running tests from app module as well

# Conflicts:
#	app/src/test/kotlin/com/wire/android/ui/WireActivityViewModelTest.kt
#	features/cells/src/test/kotlin/com/wire/android/feature/cells/ui/movetofolder/MoveToFolderViewModelTest.kt
#	features/cells/src/test/kotlin/com/wire/android/feature/cells/ui/publiclink/PublicLinkViewModelTest.kt
#	features/cells/src/test/kotlin/com/wire/android/feature/cells/ui/publiclink/settings/password/PublicLinkPasswordScreenViewModelTest.kt
#	features/cells/src/test/kotlin/com/wire/android/feature/cells/ui/rename/RenameNodeViewModelTest.kt
#	features/cells/src/test/kotlin/com/wire/android/feature/cells/util/FileNameResolverTest.kt
#	kalium
@sbakhtiarov sbakhtiarov force-pushed the fix/unit-tests-build branch 3 times, most recently from 2934cf7 to 0d8b6ce Compare March 12, 2026 15:53
@sbakhtiarov sbakhtiarov force-pushed the fix/unit-tests-build branch from 0d8b6ce to 3334ce0 Compare March 12, 2026 16:06
@sonarqubecloud
Copy link

@sbakhtiarov sbakhtiarov added this pull request to the merge queue Mar 12, 2026
Merged via the queue into develop with commit 945fdc1 Mar 12, 2026
19 of 20 checks passed
@sbakhtiarov sbakhtiarov deleted the fix/unit-tests-build branch March 12, 2026 17:25
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.

4 participants