-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
How to test presenter method? #289
Comments
Dutch bangla bank joypurhat bangladesh..MD.ASHIKUR RAHMAN KHAN |
@pro100svitlo I think your question is related with another issue - #223. Please, check this comment. I've shared a common solution which I usually use for testing observer methods within presenter. |
@epetrenko awesome! |
@epetrenko Have you any idea about this issue #297 ? Please help...! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/android10/Android-CleanArchitecture/blob/master/presentation/src/androidTest/java/com/fernandocejas/android10/sample/test/presenter/UserDetailsPresenterTest.java
Here, in your example above, you just show how we can test method before execute called.
But how we can check whats happen after? How can we check if there was correct method called when use case return onError(for example)?
The text was updated successfully, but these errors were encountered: