Skip to content

Unit Test Infra + HomePresenter Test#442

Merged
r0adkll merged 2 commits intomainfrom
dh/home-ui-tests
Nov 10, 2025
Merged

Unit Test Infra + HomePresenter Test#442
r0adkll merged 2 commits intomainfrom
dh/home-ui-tests

Conversation

@r0adkll
Copy link
Owner

@r0adkll r0adkll commented Nov 10, 2025

Initial UnitTest infrastructure
Adding new :test module into modularization structure for providing common testing utils of given modules (with :api modules) to provide for consumers of said modules

Added demo test for HomePresenter to build out and demonstrate unit tests for Circuit presenters

Adding several :test module to various module groups to provide common fakes and other test utils
HomePresenterTest
@github-actions
Copy link

github-actions bot commented Nov 10, 2025

Warnings
⚠️

Any changes to library code should be reflected in the Changelog.

Please consider adding a note there and adhere to the Changelog Guidelines.

⚠️ Big PR, try to keep changes smaller if you can
Messages
📖 This PR has been checked by Danger

Generated by 🚫 Danger Kotlin against 78ed9b9

@Rotom-Bot
Copy link
Collaborator

Rotom-Bot commented Nov 10, 2025

Code Coverage

File Coverage [97.53%]
features/home/ui/src/commonMain/kotlin/app/campfire/home/ui/HomePresenter.kt 97.53%
Total Project Coverage 1.16%

@github-actions
Copy link

Android APK @ 115389c

@r0adkll r0adkll merged commit e7d911b into main Nov 10, 2025
6 checks passed
@r0adkll r0adkll deleted the dh/home-ui-tests branch November 10, 2025 02:00
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