Join Slack
Powered by
<@U4JFYKCCC> Yes I know they are using mockito. I ...
# random
k
koufa
05/01/2017, 7:20 PM
@trevjones
Yes I know they are using mockito. I did not knew that it was possible without Roboelectric though
m
mg6maciej
05/01/2017, 7:21 PM
koufa: This is programming. Anything is possible. This looks silly tho:
https://github.com/googlesamples/android-architecture/blob/todo-mvvm-databinding/todoapp/app/src/test/java/com/example/android/architecture/blueprints/todoapp/taskdetail/TaskDetailViewModelTest.java#L96-L99
k
koufa
05/01/2017, 7:23 PM
Exactly I found this weird too. I would strive to not have Android code in my ViewModels except the Databinding stuff if using MVVM with Databinding
👍 1
Open in Slack
Previous
Next