Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring android tests to use utils/android (pt3). #395

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

Laimiux
Copy link
Collaborator

@Laimiux Laimiux commented Sep 19, 2024

The goal of this change is to start moving tests from formula-android-tests into formula-android module and keep test utilities within test-utils/android module.

initFormula = { app ->
FormulaAndroid.init(app) {
private fun runTest(continuation: (FormulaAndroidInteractor) -> Unit) {
withFormulaAndroid(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Refactoring the test to use withFormulaAndroid instead of TestFormulaRule

@carrotkite
Copy link

JaCoCo Code Coverage 97.11% ✅

Class Covered Meta Status

Generated by 🚫 Danger

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Moved

@Laimiux Laimiux force-pushed the laimonas/refactoring-android-tests-pt3 branch from e499566 to ad7e65d Compare September 19, 2024 19:16
@Laimiux Laimiux force-pushed the laimonas/refactoring-android-tests-pt3 branch from ad7e65d to da87d2a Compare September 19, 2024 19:29
@Laimiux Laimiux merged commit 3355d53 into master Sep 20, 2024
4 checks passed
@Laimiux Laimiux deleted the laimonas/refactoring-android-tests-pt3 branch September 20, 2024 16:48
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.

3 participants