Replies: 1 comment 2 replies
-
Also forgot to mention that the workaround that I've added is definitely prone to break when we would probably have viewmodel with more complicated navigation (e.g. dialogs, routes, etc...) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We were able to add some unit testing on uno.extensions project, however it's complicated to mock it on our viewmodels as it's driven by extension method while also strongly depending on other services that somehow the navigator references.
Here's a list of thing we had to do in order to configure our test with navigation (for instance with Moq).
This whole thing to test logic with this method
INavigator.NavigateViewModelAsync
.This should not be that complicated to have unit testing with navigations.
Beta Was this translation helpful? Give feedback.
All reactions