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 (pt5). #397

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

Laimiux
Copy link
Collaborator

@Laimiux Laimiux commented Sep 20, 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.

@carrotkite
Copy link

JaCoCo Code Coverage 97.14% ✅

Class Covered Meta Status

Generated by 🚫 Danger

@Laimiux Laimiux requested a review from Jawnnypoo September 20, 2024 19:21
return scenario.get {
lastState!!.activeIds.map { it.key }
}
return lastState!!.activeIds.map { it.key }
}

private fun assertVisibleContract(contract: FragmentKey) {
assertNoDuplicates(contract)
// TODO: would be best to test visibleState() however `FragmentFlowState.states` is empty
Copy link
Member

Choose a reason for hiding this comment

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

Is this TODO still valid?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep, just checked. The tests needs a refactor so that it could rely on visibleOutput

@Laimiux Laimiux merged commit 98b71fb into master Sep 23, 2024
4 checks passed
@Laimiux Laimiux deleted the laimonas/refactoring-android-tests-pt5 branch September 23, 2024 15:27
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