Proper way to testing async DelegateCommand #2637
Unanswered
GWawrzeniecki
asked this question in
WPF
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I am thinking about the proper way to test DelegateCommand where the async void method type is called.
Of course, the problem is that the Assert method is called before the DelegateCommand ends executing.
I came up with a few ideas:
For now, I think the third option is the best idea. But I don't know if this can cause some issues.
Beta Was this translation helpful? Give feedback.
All reactions