Skip to content

Fix test coverage gaps#176

Merged
guruz merged 6 commits into
opencloud-eu:mainfrom
zerox80:zerox80/fix-test-coverage-gaps
May 30, 2026
Merged

Fix test coverage gaps#176
guruz merged 6 commits into
opencloud-eu:mainfrom
zerox80:zerox80/fix-test-coverage-gaps

Conversation

@zerox80
Copy link
Copy Markdown
Contributor

@zerox80 zerox80 commented May 26, 2026

Summary

  • run app unit tests in CI and publish aggregated JaCoCo XML/HTML coverage artifacts
  • add a conservative aggregated 20% line coverage gate across app, data, domain, and com library modules
  • cover DB migration 48 -> 49, including remoteEtag preservation/default behavior
  • add MockWebServer protocol tests for remote share and OAuth operations
  • cover TUS upload creation/resume/selection behavior plus key app ViewModels

Test Plan

  • ./gradlew.bat testDebugUnitTest --continue
  • ./gradlew.bat :opencloudApp:testOriginalDebugUnitTest --continue
  • ./gradlew.bat jacocoAggregatedCoverageVerification
  • ./gradlew.bat :opencloudData:compileDebugAndroidTestKotlin

Note: connectedDebugAndroidTest was not run locally because no Android device/emulator was attached (adb devices returned an empty device list).

@guruz guruz merged commit 11785c6 into opencloud-eu:main May 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants