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

ADD Junit testing #25

Merged
merged 2 commits into from
Sep 28, 2023
Merged

ADD Junit testing #25

merged 2 commits into from
Sep 28, 2023

Conversation

ninovanhooff
Copy link
Collaborator

@ninovanhooff ninovanhooff commented Aug 11, 2023

Why is this important?

Unit testing Flows is not always straightforward, let's give an example and set up the dependencies

Any review notes?

Uses Junit java dependencies directly, ie. import junit.framework.TestCase.assertEquals
I think kotlin-test would be nicer, but I'm not sure how to add the dependency
https://kotlinlang.org/docs/jvm-test-using-junit.html (note this uses junit5 and we are using junit4)

It is unclear whether junit5 is supported in Android, don't think so: https://issuetracker.google.com/issues/127100532

tsuijten
tsuijten previously approved these changes Aug 11, 2023
Frank1234
Frank1234 previously approved these changes Sep 28, 2023
@Frank1234 Frank1234 dismissed stale reviews from tsuijten and themself via d99c6f5 September 28, 2023 08:44
@Frank1234 Frank1234 merged commit 3bddce7 into main Sep 28, 2023
1 check failed
@Frank1234 Frank1234 deleted the junit-unit-testing branch September 28, 2023 08:45
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