-
Notifications
You must be signed in to change notification settings - Fork 920
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
MovieDetailsViewModelTest always passed #116
Comments
The function update value for LiveData inside ViewModel never call on UnitTest, that's why observer on ViewModelTest never get a callback. Does anyone have experience with this, please help me to check. Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when running MovieDetailsViewModelTest, I found the test always pass though I changed assertion of a test
Also I set a debug inside LiveData, the test never reach the breakpoint
This test should be fail, cause id should be 0 not 1, but not sure why the test will pass
The text was updated successfully, but these errors were encountered: