Replies: 4 comments 3 replies
-
@sleepylee Actually, we already had unit tests for:
...only |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Tuubz Can we have more tickets for this RFC for closing? I think the best is to review all the template and see if there are any missing tests 🙏 |
Beta Was this translation helpful? Give feedback.
3 replies
-
As we are deprecating the XML template and only XML tests are missing, I believe we can close this discussion 🙇🏻 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened
I noticed that we did not add unit tests for the ViewModel and Repository layers.
Oftentimes, these involve the async data processing, in the current context, is Flow/Coroutine/Suspend functions.
Not having these setups could be challenging for everyone to start a project with decent coverage.
https://github.com/nimblehq/android-templates/tree/develop/template/domain/src/test/java/co/nimblehq/template/domain/usecase
https://github.com/nimblehq/android-templates/blob/develop/template/app/src/test/java/co/nimblehq/template/test/ViewModelExt.kt
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions