android10 / Android-CleanArchitecture

This is a sample app that is part of a series of blog posts I have written about how to architect an android application using Uncle Bob's clean architecture approach.
Apache License 2.0
15.49k stars 3.32k forks source link

Test interactions between presenters and views #262

Open vincent-paing opened 6 years ago

vincent-paing commented 6 years ago

Say I want to test whether the view's displayError is actually called when the observable emits an error. How do I do that? I've been trying to write test codes and couldn't figure it out. I'd love if someone gives an example on it

esevinale commented 6 years ago

https://github.com/android10/Android-CleanArchitecture/issues/223