-
Notifications
You must be signed in to change notification settings - Fork 90
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
ViewModel unit tests #13
Comments
Hi @catalinghita8. Any ideas on above? |
Hi @catalinghita8. Thanks for the links. That was very useful. I've read your artice and really liked it. Decided to give it a try and implement it on my own. However, it seems quite different compared to the implementation you provided above. I've applied the same workaround but it didn't work. Apparently it is known issue to Google and they expect to implement an API which would be capable to write all values written to
Do you have any ideas why given implementation unit tests implemented by example isn't working? |
I might have to investigate why with this particular architecture has issues on asserting |
The way how I imagine testing MVI view model is to assert written values to |
Hi,
Really like the implementation but I am struggling to find a way how to test view models. To be precise, how you would assert all values set to compose
State<T>
instance. Any ideas?The text was updated successfully, but these errors were encountered: